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