webpack4打包的map文件有什么用?如何去除?
webpack3中有一个
productionSourceMap: false,
的配置,4就没有了
“webpack4中config-overrides.js配置时取消打包生成 map 文件”:https://www.cnblogs.com/crazycode2/p/12584669.html
“webpack4对webpack.config.js配置sourceMap”:https://blog.csdn.net/weixin_33924312/article/details/88567045?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param
仅第一个测过有效,第二个要是没效的话就百度搜搜关键词"webpack4去除map"、"webpack4配置sourcemap"、“webpack.config.js去除map”