mirror of
https://github.com/PanJiaChen/electron-vue-admin.git
synced 2025-04-05 05:32:44 +08:00
🐛 fix package bug
This commit is contained in:
parent
64dfb93d7e
commit
ec3afcc232
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user