set NODE_PATH for webpack
This commit is contained in:
parent
558f194c06
commit
3be81a883d
1 changed files with 4 additions and 2 deletions
6
debian/patches/0400-use-npm-webpack.patch
vendored
6
debian/patches/0400-use-npm-webpack.patch
vendored
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue