Added source map of webpack so that the browser doesn't complain anymore
This commit is contained in:
parent
8b86589fd2
commit
e1e1d58335
@ -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
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user