webpack 打包后如何调试js

webpack.config.js
module.exports = {
 //devtool调试
  devtool: 'eval-source-map',
  entry:  __dirname + "/app/main.js",
  output: {
    path: __dirname + "/public",
    filename: "bundle.js"
  }
}
参考博客:http://www.cnblogs.com/model-zachary/p/7748118.html

你可能感兴趣的:(webpack 打包后如何调试js)