webpack: set mode option

This commit is contained in:
Pooya Parsa 2018-02-26 13:56:31 +03:30
parent eb2e0c5ccd
commit e0a35f76eb

View File

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