Skip to content

Commit 26229d6

Browse files
author
Joel Larson
committed
Replace deprecated isparta-loader with istanbul-instrumenter-loader
1 parent 2f64fc9 commit 26229d6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"extract-text-webpack-plugin": "^1.0.1",
3434
"file-loader": "^0.9.0",
3535
"html-webpack-plugin": "^2.7.1",
36-
"isparta-loader": "^2.0.0",
36+
"istanbul-instrumenter-loader": "^1.0.0",
3737
"jasmine-core": "^2.3.4",
3838
"karma": "^1.1.0",
3939
"karma-coverage": "^1.0.0",

webpack.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ module.exports = function makeWebpackConfig () {
130130
/node_modules/,
131131
/\.spec\.js$/
132132
],
133-
loader: 'isparta-loader'
133+
loader: 'istanbul-instrumenter',
134+
query: {
135+
esModules: true
136+
}
134137
})
135138
}
136139

0 commit comments

Comments
 (0)