[Pkg-javascript-commits] [node-rollup-plugin-node-resolve] 01/01: Improve module exports

Julien Puydt julien.puydt at laposte.net
Fri Oct 27 11:06:19 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 533a63b439c7c878aa6c8b4d29114fb5f75cfaca
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Oct 27 13:00:26 2017 +0200

    Improve module exports
---
 debian/changelog | 6 ++++++
 debian/rules     | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ccc7596..0961036 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-rollup-plugin-node-resolve (3.0.0-2) UNRELEASED; urgency=medium
+
+  * Improve module exports.
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Fri, 27 Oct 2017 13:00:07 +0200
+
 node-rollup-plugin-node-resolve (3.0.0-1) unstable; urgency=low
 
   * Initial release (Closes: #872443)
diff --git a/debian/rules b/debian/rules
index b6c06d9..4f13404 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ COMPILE_MODULES = compile-modules convert -f commonjs -I/usr/lib/nodejs/graceful
 	dh $@
 
 override_dh_auto_build: dist $(TARGETS)
-	sed -i dist/index.js -e "s/$$\[\"default\"\]/$$/g"
+	sed -i dist/index.js -e "s/exports.*/module.exports = nodeResolve/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