webpack4-SourceMap

匿名 (未验证) 提交于 2019-12-02 23:38:02

sourcemap他是一个映射关系 在devtool配置

source-map

  • inline-source-map 在main.js后边追加base64格式的代码
  • cheap-source-map 只要行不要列、只管业务代码不管第三方
  • cheap-module-source-map 加上第三方
  • eval-source-map 性能快、不太全面
    常用:cheap-module-eval-source-map
    线上:cheap-module-source-map
文章来源: https://blog.csdn.net/weixin_39326858/article/details/91353527
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!