From e1e1d5833594bff2897dfa39e6f00e45d4e871d2 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Wed, 26 Oct 2022 19:02:06 +0200 Subject: [PATCH] Added source map of webpack so that the browser doesn't complain anymore --- webpack.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index e08f188..246eb2a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -15,8 +15,10 @@ module.exports = (env, argv) => { filename: "[name].[contenthash:10].js", path: path.resolve(__dirname, "dist"), clean: true, - publicPath: '/' + publicPath: '/', + sourceMapFilename: "[name].js.map" }, + devtool: "source-map", devServer: { historyApiFallback: true },