debian-mirror-gitlab/debian/patches/0400-use-npm-webpack.patch

14 lines
737 B
Diff
Raw Normal View History

2017-08-22 19:19:12 +05:30
--- a/package.json
+++ b/package.json
2017-09-01 17:28:47 +05:30
@@ -8,8 +8,8 @@
"karma": "karma start config/karma.config.js --single-run",
2017-08-22 19:19:12 +05:30
"karma-coverage": "BABEL_ENV=coverage karma start config/karma.config.js --single-run",
"karma-start": "karma start config/karma.config.js",
2017-09-01 17:28:47 +05:30
- "webpack": "webpack --config config/webpack.config.js",
2017-08-22 19:19:12 +05:30
- "webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
2017-09-01 17:28:47 +05:30
+ "webpack": "NODE_PATH=/usr/share/gitlab/node_modules node_modules/.bin/webpack --config config/webpack.config.js",
2017-08-23 09:38:10 +05:30
+ "webpack-prod": "NODE_ENV=production NODE_PATH=/usr/share/gitlab/node_modules node_modules/.bin/webpack --config config/webpack.config.js"
2017-08-22 19:19:12 +05:30
},
"dependencies": {
"babel-core": "^6.22.1",