diff --git a/tsconfig.json b/tsconfig.json index 1a35d3404..49673fdd6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,8 +9,8 @@ "preserveConstEnums": true, "rootDir": "./src", "outDir": "./out", - "sourceMap": true, - "mapRoot": "/", + "inlineSourceMap": true, + "inlineSources": true, "skipLibCheck": true, "jsx":"react" }, diff --git a/webpack.renderer.config.js b/webpack.renderer.config.js index d95c124c1..e0ad584b5 100644 --- a/webpack.renderer.config.js +++ b/webpack.renderer.config.js @@ -19,6 +19,13 @@ module.exports = { test: /\.tsx?$/, loader: 'ts-loader', exclude: /node_modules/, + options: { + compilerOptions: { + sourceMap: true, + inlineSourceMap: false, + inlineSources: false, + } + } }, ] },