[Pkg-javascript-commits] [node-magic-string] 01/03: Improve exports
Julien Puydt
julien.puydt at laposte.net
Tue Sep 19 15:37:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository node-magic-string.
commit 67e6c637d301d8d8bc6d47d7a0c6966b6ace1b7a
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Tue Sep 19 17:32:53 2017 +0200
Improve exports
---
debian/rules | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/rules b/debian/rules
index 8421ddc..868ed2a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,7 @@ COMPILE_MODULES = compile-modules convert -f commonjs
override_dh_auto_build: dist $(TARGETS)
mv dist/index-legacy.js dist/index.js
sed -i dist/MagicString.js -e "s/DEBUG/false/g"
+ sed -i dist/index.js -e "s/exports\[\"default\"\]/module.exports/g"
dist:
mkdir -p dist/utils
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-magic-string.git
More information about the Pkg-javascript-commits
mailing list