From d813bf4c899854458890be7337da2455bb79cbeb Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 9 Jun 2018 23:54:11 +0200 Subject: [PATCH] Add missing modes. --- config/webpack.dev.js | 2 ++ config/webpack.prod.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config/webpack.dev.js b/config/webpack.dev.js index 584c41e..e337c22 100644 --- a/config/webpack.dev.js +++ b/config/webpack.dev.js @@ -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: '/', diff --git a/config/webpack.prod.js b/config/webpack.prod.js index c13f28d..b874637 100644 --- a/config/webpack.prod.js +++ b/config/webpack.prod.js @@ -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: '/',