-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add SWC support for istanbul #4114
Comments
Oh I missed plugin part. Someone needs to write plugin if it need to be supported. |
Let's see if it's possible to port into plugin. This requires to port some of istanbul itself (lib-instrument for example) |
This is now available via vercel/next.js#36692 and https://github.com/kwonoj/swc-coverage-instrument, though I expect there'll be some rough edges need to fix forward. It is unclear if we'll move this codes into swc upstream's plugin repo or not at this moment. Given this'll probably not be included in |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Describe the feature
Add SWC support for istanbul
Babel plugin or link to the feature description
https://www.npmjs.com/package/babel-plugin-istanbul
Additional context
I am using SWC, but need to use istanbul for my Cypress Code Coverage plugin. Since it is not supported by SWC, I am opting out of SWC for Babel. Some other devs also opted out too. Not sure what the progress is on this.
vercel/next.js#30529
vercel/next.js#30174
The text was updated successfully, but these errors were encountered: