From 97cbe9e16f7933e6cd857576d7e4eff862964b55 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 15 May 2018 01:22:53 -0400 Subject: [PATCH] Fixes sourcemaps --- src/ui/webpack.config.js | 2 +- webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/webpack.config.js b/src/ui/webpack.config.js index 7a0956a..a3569dd 100644 --- a/src/ui/webpack.config.js +++ b/src/ui/webpack.config.js @@ -130,7 +130,7 @@ module.exports = function(env, argv) { extensions: ['.ts', '.js'], modules: [path.resolve(__dirname), 'node_modules'] }, - devtool: sourceMaps ? 'inline-source-map' : false, + devtool: sourceMaps ? 'eval-source-map' : undefined, module: { rules: [ { diff --git a/webpack.config.js b/webpack.config.js index 66a942d..b7f438f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -46,7 +46,7 @@ module.exports = function(env, argv) { externals: [ nodeExternals() ], - devtool: sourceMaps ? 'inline-source-map' : false, + devtool: sourceMaps ? 'eval-source-map' : undefined, module: { rules: [ {