From 6d8d6cdb57d03af2bdd1d86813ff2add733ce8fd Mon Sep 17 00:00:00 2001 From: David Kaltschmidt Date: Mon, 28 May 2018 17:38:09 +0200 Subject: [PATCH] Fix sourcemaps for webpack hot config --- scripts/webpack/webpack.hot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/webpack/webpack.hot.js b/scripts/webpack/webpack.hot.js index e0f078b71fb..9a2845372ea 100644 --- a/scripts/webpack/webpack.hot.js +++ b/scripts/webpack/webpack.hot.js @@ -26,6 +26,8 @@ module.exports = merge(common, { extensions: ['.scss', '.ts', '.tsx', '.es6', '.js', '.json', '.svg', '.woff2', '.png'], }, + devtool: 'eval-source-map', + devServer: { publicPath: '/public/build/', hot: true,