mode

75 阅读1分钟

mode 用来指定当前的构建环境是: production|development|none 设置 mode 可以使用 webpack 内置的函数,默认值为 production

image.png image.png