Skip to content

Commit

Permalink
🐛 fix package bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LuoLiangDSGA authored and PanJiaChen committed Aug 25, 2018
1 parent 64dfb93 commit ec3afcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .electron-vue/webpack.renderer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ec3afcc

Please sign in to comment.