[DRE-commits] [gitlab] 06/07: use webpack from npm

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Aug 22 13:50:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master-9.2
in repository gitlab.

commit 302dbd50e46aa8e5d8e6f92cd96cc3871ed62b39
Author: Pirate Praveen <praveen at debian.org>
Date:   Tue Aug 22 19:19:12 2017 +0530

    use webpack from npm
---
 debian/patches/0400-use-npm-webpack.patch | 11 +++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/0400-use-npm-webpack.patch b/debian/patches/0400-use-npm-webpack.patch
new file mode 100644
index 0000000..2aad84c
--- /dev/null
+++ b/debian/patches/0400-use-npm-webpack.patch
@@ -0,0 +1,11 @@
+--- a/package.json
++++ b/package.json
+@@ -9,7 +9,7 @@
+     "karma-coverage": "BABEL_ENV=coverage karma start config/karma.config.js --single-run",
+     "karma-start": "karma start config/karma.config.js",
+     "webpack": "webpack --config config/webpack.config.js",
+-    "webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
++    "webpack-prod": "NODE_ENV=production node_modules/.bin/webpack --config config/webpack.config.js"
+   },
+   "dependencies": {
+     "babel-core": "^6.22.1",
diff --git a/debian/patches/series b/debian/patches/series
index b76f095..50e7415 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@ pid-log-paths.patch
 0260-relax-ruby-parser.patch
 0270-relax-toml-rb.patch
 0280-relax-pg.patch
+0400-use-npm-webpack.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list