debian-mirror-gitlab/debian/patches/0400-use-npm-webpack.patch
2017-08-23 09:38:10 +05:30

11 lines
552 B
Diff

--- 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_PATH=/usr/share/gitlab/node_modules node_modules/.bin/webpack --config config/webpack.config.js"
},
"dependencies": {
"babel-core": "^6.22.1",