From bfb4d4b2b23b6600c4da43c5629cd5b1e61be59f Mon Sep 17 00:00:00 2001 From: Zach Schneider Date: Mon, 8 Oct 2018 15:12:34 -0400 Subject: [PATCH] Turn on sourcemaps in built dist --- webpack/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/webpack.config.js b/webpack/webpack.config.js index 6882012e..9b77ea6d 100644 --- a/webpack/webpack.config.js +++ b/webpack/webpack.config.js @@ -33,10 +33,10 @@ const config = { library: "reactJsonView", libraryTarget: "umd" }, - plugins: [new webpack.optimize.UglifyJsPlugin()], resolve: { extensions: [".js", ".json", ".css", ".scss"] }, + devtool: "source-map", module: { rules: [ {