瀏覽代碼

webpack: changed devtools setting to stop exceptions

Daniel Lee 8 年之前
父節點
當前提交
5e8f253ff8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/webpack/webpack.dev.js

+ 1 - 1
scripts/webpack/webpack.dev.js

@@ -10,7 +10,7 @@ const WebpackCleanupPlugin = require('webpack-cleanup-plugin');
 const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
 
 module.exports = merge(common, {
-  devtool: "eval-source-map",
+  devtool: "cheap-module-source-map",
 
   entry: {
     dark: './public/sass/grafana.dark.scss',