sourceMap

150 阅读1分钟
  1. 开发环境cheap-module-eval-source-map
  2. 生产环境cheap-module-source-map
    使用: webpack.config.js导出的对象下,写一个devtool字段,然后设定值