From a38d8429da6d7bdccd5a956fa9a4717282da84c7 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Tue, 24 Oct 2017 16:12:57 -0700 Subject: [PATCH] Enable source maps for prod --- webpack.production.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webpack.production.config.js b/webpack.production.config.js index e68a8f7c..500eeec2 100644 --- a/webpack.production.config.js +++ b/webpack.production.config.js @@ -3,6 +3,8 @@ const webpack = require("webpack"); const cdnUrl = process.env.CDN_URL || "/"; +config.devtool = "source-map"; + config.plugins = (config.plugins || []).concat([ new webpack.DefinePlugin({ "process.env": {