Use inline source maps for karma (!11815)
This commit is contained in:
parent
e20eb71203
commit
d571690b94
2 changed files with 2 additions and 2 deletions
|
@ -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 = {
|
||||||
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: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue