Commit 7fea09bf authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'winh-karma-sourcemaps' into 'master'

Use inline source maps for karma

Closes #30996

See merge request !11815
parents 6e82de21 d571690b
...@@ -13,6 +13,8 @@ if (webpackConfig.plugins) { ...@@ -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';
......
...@@ -74,8 +74,6 @@ var config = { ...@@ -74,8 +74,6 @@ var config = {
chunkFilename: IS_PRODUCTION ? '[name].[chunkhash].chunk.js' : '[name].chunk.js', chunkFilename: IS_PRODUCTION ? '[name].[chunkhash].chunk.js' : '[name].chunk.js',
}, },
devtool: 'cheap-module-source-map',
module: { module: {
rules: [ rules: [
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment