Add export with sed as workaround

parent fdd73771
......@@ -6,6 +6,9 @@
override_dh_auto_build:
tsc src/sourcemap-codec.ts --baseUrl /usr/lib/nodejs/vlq/
rollup -c
# workaround for rollup not adding exports
sed -i 's/\/\/# sourceMappingURL=sourcemap-codec.es.js.map/export { encode, decode };\
\/\/# sourceMappingURL=sourcemap-codec.es.js.map/' dist/sourcemap-codec.es.js
override_dh_auto_clean:
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