infer NODE_ENV from isProd

This commit is contained in:
Jason Miller
2018-03-27 20:52:30 -04:00
parent 720a11ccd3
commit 83a0bd16dd

View File

@@ -25,7 +25,7 @@ module.exports = function(_, env) {
];
return {
mode: env.mode || 'development',
mode: isProd ? 'production' : 'development',
entry: path.join(__dirname, 'config/client-boot.js'),
// entry: './src/index',
output: {