Commit d571690b authored by winh's avatar winh

Use inline source maps for karma (!11815)

parent e20eb712
...@@ -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';
......
...@@ -72,8 +72,6 @@ var config = { ...@@ -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: [
{ {
......
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