diff --git a/webpack.config.dev.js b/webpack.config.dev.js index 453c7f3..68bf8ea 100644 --- a/webpack.config.dev.js +++ b/webpack.config.dev.js @@ -14,7 +14,7 @@ export default { modules:["node_modules", "src"], extensions: [".js", ".jsx", ".json", ".ts", ".tsx"] }, - devtool: "source-map", + devtool: "#eval-source-map", entry: [ "babel-polyfill", "whatwg-fetch", diff --git a/webpack.config.prod.js b/webpack.config.prod.js index aa952af..6f9ccf8 100644 --- a/webpack.config.prod.js +++ b/webpack.config.prod.js @@ -17,7 +17,7 @@ export default { modules:["node_modules", "src"], extensions: [".js", ".jsx", ".json", ".ts", ".tsx"] }, - devtool: "source-map", // more info:https://webpack.github.io/docs/build-performance.html#sourcemaps and https://webpack.github.io/docs/configuration.html#devtool + devtool: "#eval-source-map", // more info:https://webpack.github.io/docs/build-performance.html#sourcemaps and https://webpack.github.io/docs/configuration.html#devtool entry: [ "babel-polyfill", "whatwg-fetch",