babel-istanbul-loader
babel-istanbul-loader copied to clipboard
Help migrating to babel-plugin-istanbul
I inherited a project that uses this library, and I need some help migrating to babel-plugin-istanbul. The karma.conf.js file has this definition in it right now:
webpack: {
devtool: 'inline-source-map',
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /__tests__|node_modules|App|Routes/,
loader: 'babel-istanbul',
query: {
cacheDirectory: true
}
},
Any pointers on how to migrate to the other plugin?
hi.
- remove this loader from karma.conf.js
- https://github.com/istanbuljs/babel-plugin-istanbul#usage
or just wait a few days for this PR to be merged https://github.com/deepsweet/istanbul-instrumenter-loader/pull/28, it will work in absolutely the same way as babel-istanbul-loader
.