From ec3afcc232e7db300a66932d17ded96495c76c77 Mon Sep 17 00:00:00 2001 From: FrankLo Date: Fri, 24 Aug 2018 23:07:19 +0800 Subject: [PATCH] :bug: fix package bug --- .electron-vue/webpack.renderer.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.electron-vue/webpack.renderer.config.js b/.electron-vue/webpack.renderer.config.js index 814696c..7f35705 100644 --- a/.electron-vue/webpack.renderer.config.js +++ b/.electron-vue/webpack.renderer.config.js @@ -121,7 +121,7 @@ let rendererConfig = { plugins: [ new ExtractTextPlugin('styles.css'), new webpack.DefinePlugin({ - 'process.env': config.dev.env + 'process.env': process.env.NODE_ENV === 'production' ? config.build.env : config.dev.env }), new HtmlWebpackPlugin({ filename: 'index.html',