Added source map of webpack so that the browser doesn't complain anymore

This commit is contained in:
Karma Riuk 2022-10-26 19:02:06 +02:00
parent 8b86589fd2
commit e1e1d58335

View File

@ -15,8 +15,10 @@ module.exports = (env, argv) => {
filename: "[name].[contenthash:10].js", filename: "[name].[contenthash:10].js",
path: path.resolve(__dirname, "dist"), path: path.resolve(__dirname, "dist"),
clean: true, clean: true,
publicPath: '/' publicPath: '/',
sourceMapFilename: "[name].js.map"
}, },
devtool: "source-map",
devServer: { devServer: {
historyApiFallback: true historyApiFallback: true
}, },