Skip to content

Commit

Permalink
fixed source map support in development
Browse files Browse the repository at this point in the history
  • Loading branch information
TanninOne committed May 16, 2018
1 parent 9228949 commit 41289bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"preserveConstEnums": true,
"rootDir": "./src",
"outDir": "./out",
"sourceMap": true,
"mapRoot": "/",
"inlineSourceMap": true,
"inlineSources": true,
"skipLibCheck": true,
"jsx":"react"
},
Expand Down
7 changes: 7 additions & 0 deletions webpack.renderer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ module.exports = {
test: /\.tsx?$/,
loader: 'ts-loader',
exclude: /node_modules/,
options: {
compilerOptions: {
sourceMap: true,
inlineSourceMap: false,
inlineSources: false,
}
}
},
]
},
Expand Down

0 comments on commit 41289bf

Please sign in to comment.