Closed LuoLiangDSGA closed 5 years ago
DefinePlugin plugin of this configuration in webpack.renderer.config.js was writen into dev environment,that's why you can't switch it into prod environment while you are packing
DefinePlugin
webpack.renderer.config.js
dev
prod environment
DefinePlugin
plugin of this configuration inwebpack.renderer.config.js
was writen intodev
environment,that's why you can't switch it intoprod environment
while you are packing