The 'mode' option has not been s

2018-08-22  本文已影响0人  super静_jingjing

WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/

解决:打包时命令带上--mode development

上一篇下一篇

猜你喜欢

热点阅读