Browse Source

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>
tags/v16.0.0alpha1
Roeland Jago Douma 5 years ago
parent
commit
329da5fb99
No account linked to committer's email address
5 changed files with 5 additions and 2 deletions
  1. 0
    0
      core/webpack.js
  2. 2
    2
      package.json
  3. 3
    0
      webpack.common.js
  4. 0
    0
      webpack.dev.js
  5. 0
    0
      webpack.prod.js

core/webpack.common.js → core/webpack.js View File


+ 2
- 2
package.json 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
- 0
webpack.common.js View File

@@ -0,0 +1,3 @@
const core = require('./core/webpack');

module.exports = [].concat(core);

core/webpack.dev.js → webpack.dev.js View File


core/webpack.prod.js → webpack.prod.js View File


Loading…
Cancel
Save