Add export with sed as workaround

parent fdd73771
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
override_dh_auto_build: override_dh_auto_build:
tsc src/sourcemap-codec.ts --baseUrl /usr/lib/nodejs/vlq/ tsc src/sourcemap-codec.ts --baseUrl /usr/lib/nodejs/vlq/
rollup -c rollup -c
# workaround for rollup not adding exports
sed -i 's/\/\/# { encode, decode };\
\/\/#' dist/
override_dh_auto_clean: override_dh_auto_clean:
rm -rf src/sourcemap-codec.js dist rm -rf src/sourcemap-codec.js dist
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment