Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ module.exports = function makeWebpackConfig() {
config.devtool = 'source-map';
}
else if (isTest) {
config.devtool = 'inline-source-map';
if(!isTestWatch) { // source maps slows down test-watch too much, so just keep source maps for 'single run' test
config.devtool = 'inline-source-map';
}
}
else {
config.devtool = 'eval-source-map';
Expand Down Expand Up @@ -147,6 +149,7 @@ module.exports = function makeWebpackConfig() {
config.module.rules.push({
test: /\.ts$/,
enforce: 'pre',
include: path.resolve('src'),
loader: 'tslint-loader'
});
}
Expand Down