produce source maps

pull/43/head
Alexander Bentkamp 2 years ago
parent 796ebfeaab
commit 2f465b37c7

@ -44,6 +44,7 @@ module.exports = env => {
output: {
path: path.resolve(__dirname, "client/dist/"),
filename: "bundle.js",
sourceMapFilename: "[name].js.map"
},
devServer: {
proxy: {
@ -56,6 +57,7 @@ module.exports = env => {
port: 3000,
hot: true,
},
devtool: "source-map",
plugins: [
!isDevelopment && new WebpackShellPluginNext({
onBuildEnd:{
@ -69,4 +71,4 @@ module.exports = env => {
isDevelopment && new ReactRefreshWebpackPlugin()
].filter(Boolean),
};
}
}

Loading…
Cancel
Save