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:
Roeland Jago Douma 2019-02-11 19:30:16 +01:00
parent 6c6642e8ee
commit 329da5fb99
No known key found for this signature in database
GPG Key ID: F941078878347C0C
5 changed files with 5 additions and 2 deletions

View File

@ -8,8 +8,8 @@
"test": "tests"
},
"scripts": {
"build": "webpack --progress --hide-modules --config core/webpack.prod.js",
"dev": "webpack --progress --watch --config core/webpack.dev.js"
"build": "webpack --progress --hide-modules --config webpack.prod.js",
"dev": "webpack --progress --watch --config webpack.dev.js"
},
"repository": {
"type": "git",

3
webpack.common.js Normal file
View File

@ -0,0 +1,3 @@
const core = require('./core/webpack');
module.exports = [].concat(core);