Skip to content
Snippets Groups Projects
Commit 3ab2d1e7 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

add source map for debugging

parent c3cf3bb2
Branches
Tags
No related merge requests found
......@@ -66,6 +66,7 @@ const config: Configuration = {
"/survey/*": "http://127.0.0.1:4001"
},
},
devtool: process.env.NODE_ENV === "production" ? undefined : "inline-source-map",
plugins: [
new ForkTsCheckerWebpackPlugin({
async: false,
......
......@@ -70,6 +70,7 @@ const config: Configuration = {
"/authorize": "http://127.0.0.1:5000",
},
},
devtool: process.env.NODE_ENV === "production" ? undefined : "inline-source-map",
plugins: [
new ForkTsCheckerWebpackPlugin({
async: false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment