debian-mirror-gitlab/debian/patches/0400-use-npm-webpack.patch
2017-08-22 19:19:12 +05:30

11 lines
511 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_modules/.bin/webpack --config config/webpack.config.js"
},
"dependencies": {
"babel-core": "^6.22.1",