webpack: set mode option

This commit is contained in:
Pooya Parsa 2018-02-26 13:56:31 +03:30
parent eb2e0c5ccd
commit e0a35f76eb
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ module.exports = function webpackBaseConfig({ name, isServer }) {
const config = {
name,
mode: this.options.dev ? 'development' : 'prodoction',
entry: {
app: null
},