coverage-istanbul-loader
coverage-istanbul-loader copied to clipboard
How to use with babel-loader?
I'm transpiling my react app with babel-loader. How do I set up coverage-istanbul-loader to play nicely with babel?
You can use babel-loader just like any other loader by putting it in the module.rules.use field of your webpack.config.
For example, see the TypeScript example project in this repo. Your webpack.config will be very similar, except that you'll use babel-loader instead of ts-loader