From c81943628cc099c67330557c1db708fbc574dfd1 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Sun, 11 Feb 2018 12:37:41 -0500 Subject: [PATCH] Fixing production sourcemaps --- webpack.prod.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webpack.prod.js b/webpack.prod.js index afd5449..30c5a29 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -6,7 +6,9 @@ const WorkboxPlugin = require('workbox-webpack-plugin'); module.exports = merge(common, { devtool: 'source-map', plugins: [ - new UglifyJSPlugin(), + new UglifyJSPlugin({ + sourceMap: true + }), new WorkboxPlugin({ clientsClaim: true, skipWaiting: true