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 },