Skip to content

Commit

Permalink
chore: set sourceMap=true in ts-loader compilerOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sassoun Derderian committed Mar 14, 2017
1 parent f8391be commit 48747d4
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,6 @@ webpackConfig.module.rules.push({
}
})

// override compiler options for "ts-loader"
webpackConfig.module.rules.forEach(function(rule) {
if (Array.isArray(rule.use)) {
rule.use.forEach(function(loaderInfo) {
if (loaderInfo.loader === 'ts-loader') {
loaderInfo.options = loaderInfo.options || {}
loaderInfo.options.compilerOptions = {
sourceMap: false,
inlineSourceMap: true
}
}
})
}
})

webpackConfig.externals = [
]

Expand Down

0 comments on commit 48747d4

Please sign in to comment.