[DRE-commits] [gitlab] 02/03: set NODE_PATH for webpack
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Fri Sep 1 12:33:21 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 3be81a883d8894db73ef9723445ba22e7accdea0
Author: Pirate Praveen <praveen at debian.org>
Date: Fri Sep 1 17:28:47 2017 +0530
set NODE_PATH for webpack
---
debian/patches/0400-use-npm-webpack.patch | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/patches/0400-use-npm-webpack.patch b/debian/patches/0400-use-npm-webpack.patch
index 27b1ada..4c94e94 100644
--- a/debian/patches/0400-use-npm-webpack.patch
+++ b/debian/patches/0400-use-npm-webpack.patch
@@ -1,10 +1,12 @@
--- a/package.json
+++ b/package.json
-@@ -9,7 +9,7 @@
+@@ -8,8 +8,8 @@
+ "karma": "karma start config/karma.config.js --single-run",
"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": "webpack --config config/webpack.config.js",
- "webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
++ "webpack": "NODE_PATH=/usr/share/gitlab/node_modules node_modules/.bin/webpack --config config/webpack.config.js",
+ "webpack-prod": "NODE_ENV=production NODE_PATH=/usr/share/gitlab/node_modules node_modules/.bin/webpack --config config/webpack.config.js"
},
"dependencies": {
--
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