Add missing modes.
This commit is contained in:
parent
d6f895c535
commit
d813bf4c89
@ -8,6 +8,8 @@ const helpers = require('./helpers');
|
|||||||
module.exports = webpackMerge(commonConfig, {
|
module.exports = webpackMerge(commonConfig, {
|
||||||
devtool: 'cheap-module-eval-source-map',
|
devtool: 'cheap-module-eval-source-map',
|
||||||
|
|
||||||
|
mode: 'development',
|
||||||
|
|
||||||
output: {
|
output: {
|
||||||
path: helpers.root('dist'),
|
path: helpers.root('dist'),
|
||||||
publicPath: '/',
|
publicPath: '/',
|
||||||
|
@ -10,6 +10,8 @@ const ENV = process.env.NODE_ENV = process.env.ENV = 'production';
|
|||||||
module.exports = webpackMerge(commonConfig, {
|
module.exports = webpackMerge(commonConfig, {
|
||||||
devtool: 'source-map',
|
devtool: 'source-map',
|
||||||
|
|
||||||
|
mode: 'production',
|
||||||
|
|
||||||
output: {
|
output: {
|
||||||
path: helpers.root('dist'),
|
path: helpers.root('dist'),
|
||||||
publicPath: '/',
|
publicPath: '/',
|
||||||
|
Loading…
Reference in New Issue
Block a user