From 9c62cfb99ce87ce978358899c9ad993a4eaf776e Mon Sep 17 00:00:00 2001 From: bustardcelly Date: Tue, 19 Jun 2018 09:14:23 -0400 Subject: [PATCH] build script update. --- webpack.config.babel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.babel.js b/webpack.config.babel.js index 84e7d65..b848fef 100644 --- a/webpack.config.babel.js +++ b/webpack.config.babel.js @@ -32,7 +32,7 @@ if(PROD || STAGING) { */ export default { - mode: process.env.NODE_ENV === 'production' || 'development', + mode: process.env.NODE_ENV === 'production' ? 'production' : 'development', entry: [path.join(process.cwd(), 'src', 'js', 'index.js')], optimization: { minimize: PROD || STAGING