Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with babel-loader? #4

Open
jrnail23 opened this issue Mar 13, 2020 · 1 comment
Open

How to use with babel-loader? #4

jrnail23 opened this issue Mar 13, 2020 · 1 comment
Labels
question Further information is requested

Comments

@jrnail23
Copy link

I'm transpiling my react app with babel-loader. How do I set up coverage-istanbul-loader to play nicely with babel?

@JamesMessinger
Copy link
Member

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

@JamesMessinger JamesMessinger added the question Further information is requested label Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants