Move webpack config to root
Then we can include all server repo webpack configs in 1 go Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
6c6642e8ee
commit
329da5fb99
5 changed files with 5 additions and 2 deletions
|
@ -8,8 +8,8 @@
|
||||||
"test": "tests"
|
"test": "tests"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress --hide-modules --config core/webpack.prod.js",
|
"build": "webpack --progress --hide-modules --config webpack.prod.js",
|
||||||
"dev": "webpack --progress --watch --config core/webpack.dev.js"
|
"dev": "webpack --progress --watch --config webpack.dev.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
3
webpack.common.js
Normal file
3
webpack.common.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
const core = require('./core/webpack');
|
||||||
|
|
||||||
|
module.exports = [].concat(core);
|
Loading…
Reference in a new issue