diff --git a/make-webpack-config.js b/make-webpack-config.js index c2cc2268..2e81510a 100644 --- a/make-webpack-config.js +++ b/make-webpack-config.js @@ -137,7 +137,7 @@ module.exports = function(rules, options) { } }, - devtool: specialOptions.sourcemaps ? "cheap-module-source-map" : null, + devtool: specialOptions.sourcemaps ? "nosource-source-map" : null, plugins, diff --git a/webpack-dist-bundle.config.js b/webpack-dist-bundle.config.js index 27a26046..48b39be3 100644 --- a/webpack-dist-bundle.config.js +++ b/webpack-dist-bundle.config.js @@ -11,7 +11,7 @@ let rules = [ name: "[name].js" } }, - { loader: "babel-loader" } + { loader: "babel-loader?retainLines=true" } ] } ] diff --git a/webpack-dist-standalone.config.js b/webpack-dist-standalone.config.js index e19f428b..22477a9f 100644 --- a/webpack-dist-standalone.config.js +++ b/webpack-dist-standalone.config.js @@ -11,7 +11,7 @@ let rules = [ name: "[name].js" } }, - { loader: "babel-loader" } + { loader: "babel-loader?retainLines=true" } ] } ] diff --git a/webpack-dist.config.js b/webpack-dist.config.js index 3aa65ed2..391c4a96 100644 --- a/webpack-dist.config.js +++ b/webpack-dist.config.js @@ -13,7 +13,7 @@ let rules = [ name: "[name].js" } }, - { loader: "babel-loader" } + { loader: "babel-loader?retainLines=true" } ] } ]