[Pkg-javascript-commits] [node-rollup-plugin-node-resolve] 01/01: Fix how the resolve module is used

Julien Puydt julien.puydt at laposte.net
Fri Oct 27 11:34:28 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-rollup-plugin-node-resolve.

commit 3433f6aaa253359025c7505ccf95f96bf1cc884a
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Oct 27 13:33:24 2017 +0200

    Fix how the resolve module is used
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 4f13404..339fcdd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,7 @@ COMPILE_MODULES = compile-modules convert -f commonjs -I/usr/lib/nodejs/graceful
 
 override_dh_auto_build: dist $(TARGETS)
 	sed -i dist/index.js -e "s/exports.*/module.exports = nodeResolve/g"
+	sed -i dist/index.js -e 's/\["default"\]//g'
 
 override_dh_auto_clean:
 	rm -rf dist

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-rollup-plugin-node-resolve.git



More information about the Pkg-javascript-commits mailing list