[Pkg-javascript-commits] [node-rollup-plugin-commonjs] 04/05: Improve exports
Julien Puydt
julien.puydt at laposte.net
Tue Sep 19 12:57:58 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-commonjs.
commit 086f031ddf121beb66c092805300cf912ab467e0
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Tue Sep 19 14:49:05 2017 +0200
Improve exports
---
debian/changelog | 1 +
debian/rules | 1 +
2 files changed, 2 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8010ccc..bb35347 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
node-rollup-plugin-commonjs (8.2.1-1) UNRELEASED; urgency=medium
* New upstream release.
+ * Improved exports.
-- Julien Puydt <julien.puydt at laposte.net> Tue, 19 Sep 2017 14:45:47 +0200
diff --git a/debian/rules b/debian/rules
index fc50599..c01f249 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,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/exports.*/module.exports = commonjs;/g"
dist:
mkdir dist
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-rollup-plugin-commonjs.git
More information about the Pkg-javascript-commits
mailing list