Open lone-cloud opened 2 years ago
This works for me:https://github.com/kwonoj/swc-plugin-coverage-instrument
@MattyBalaam which steps did you take to set this up?
@arendjantetteroo I can't recall, but I think I just followed the readme
Any updates on this topic? Trying to setup with the plugin, but it does not work :(
Thanks for the downvotes guys 😆
The readme was pretty straightforward I have to say, here’s a screenshot of our loader config but it‘s no different from the readme.
Unfortunately, this has stopped working with @swc/core 1.3.39
Thanks for the downvotes guys 😆
The readme was pretty straightforward I have to say, here’s a screenshot of our loader config but it‘s no different from the readme.
Unfortunately, this has stopped working with @swc/core 1.3.39
should i write in next.config.js?
Thanks for the downvotes guys 😆 The readme was pretty straightforward I have to say, here’s a screenshot of our loader config but it‘s no different from the readme.
Unfortunately, this has stopped working with @swc/core 1.3.39
should i write in next.config.js?
I don't know about next config, we don't use it. This is a webpack config for compiling react components
Any traction on this? Not supporting Next out-of-the box seems like a miss for Cypress.io
Any notable progress on this? I am unable to generate coverage report for my cypress tests
SWC (https://github.com/swc-project/swc) is a more performant babel replacement that's being shipped with some frameworks like Next.js This library only appears to work strictly with babel and I was not yet able to figure out how to get it working with SWC's code instrumentation plugin: https://github.com/kwonoj/swc-coverage-instrument