Add missing modes.

This commit is contained in:
Alexis Lahouze 2018-06-09 23:54:11 +02:00
parent d6f895c535
commit d813bf4c89
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,8 @@ const helpers = require('./helpers');
module.exports = webpackMerge(commonConfig, {
devtool: 'cheap-module-eval-source-map',
mode: 'development',
output: {
path: helpers.root('dist'),
publicPath: '/',

View File

@ -10,6 +10,8 @@ const ENV = process.env.NODE_ENV = process.env.ENV = 'production';
module.exports = webpackMerge(commonConfig, {
devtool: 'source-map',
mode: 'production',
output: {
path: helpers.root('dist'),
publicPath: '/',