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/configuration/mode/
时间: 2023-04-28 10:01:38 浏览: 90
webpack教程之webpack.config.js配置文件
警告:在配置中未设置'mode'选项,webpack将回退到'production'。设置'mode'选项为'development'或'production'以启用每个环境的默认值。您还可以将其设置为'none'以禁用任何默认行为。了解更多:https://webpack.js.org/configuration/mode/
阅读全文