Use inline source maps for karma (!11815)

This commit is contained in:
winh 2017-05-31 11:34:41 +02:00
parent e20eb71203
commit d571690b94
2 changed files with 2 additions and 2 deletions

View file

@ -13,6 +13,8 @@ if (webpackConfig.plugins) {
}); });
} }
webpackConfig.devtool = 'cheap-inline-source-map';
// Karma configuration // Karma configuration
module.exports = function(config) { module.exports = function(config) {
var progressReporter = process.env.CI ? 'mocha' : 'progress'; var progressReporter = process.env.CI ? 'mocha' : 'progress';

View file

@ -72,8 +72,6 @@ var config = {
filename: IS_PRODUCTION ? '[name].[chunkhash].bundle.js' : '[name].bundle.js' filename: IS_PRODUCTION ? '[name].[chunkhash].bundle.js' : '[name].bundle.js'
}, },
devtool: 'cheap-module-source-map',
module: { module: {
rules: [ rules: [
{ {