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

Julien Puydt julien.puydt at laposte.net
Fri Sep 8 05: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-rollup-plugin-string.

commit 5784c22d6a0659ef4839f44b4ed381cc78c54ace
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Sep 8 07:11:19 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 e20d77d..7283813 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-rollup-plugin-string (2.0.2-2) UNRELEASED; urgency=medium
+
+  * Improve module exports.
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Fri, 08 Sep 2017 07:11:00 +0200
+
 node-rollup-plugin-string (2.0.2-1) unstable; urgency=low
 
   * Initial release (Closes: #867329)
diff --git a/debian/rules b/debian/rules
index 3998cf2..c17472e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,4 +6,4 @@
 override_dh_auto_build:
 	mkdir dist
 	compile-modules convert -f commonjs -I/usr/lib/nodejs index.js > dist/index.js
-	sed -i dist/index.js -e "s/\"default\"/\"string\"/g"
+	sed -i dist/index.js -e "s/exports.*/module.exports = string/g"

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



More information about the Pkg-javascript-commits mailing list