swc-plugin-coverage-instrument icon indicating copy to clipboard operation
swc-plugin-coverage-instrument copied to clipboard

Support swc_core v14

Open RobHannay opened this issue 9 months ago • 1 comments

Man swc moves fast!

I rely on this great plugin as well as Rspack. My upgrade path for Rspack is blocked on this:

#25 31.41   × Module build failed:
#25 31.41   ╰─▶   ×
#25 31.41         │   x failed to invoke plugin on 'Some(/* a JS file */)'
#25 31.41         │ The version of the SWC Wasm plugin you're using might not be compatible with `builtin:swc-loader`.
#25 31.41         │ The `swc_core` version of the current `rspack_core` is =14.0.1.
#25 31.41         │ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
#25 31.41         │ See this guide as a reference for selecting SWC Wasm plugin versions: https://rspack.dev/errors/swc-plugin-version

If there are docs I can follow to foray into Rust plugin dev I would be interested. Thanks

RobHannay avatar Feb 27 '25 11:02 RobHannay

Hey @kwonoj, sorry to bump

Is it likely later SWC core versions will be supported?

Can you give me any docs/pointers for where to get started? I assume there are breaking changes that would need addressing

RobHannay avatar Mar 05 '25 12:03 RobHannay

Latest bump released via https://github.com/kwonoj/swc-plugin-coverage-instrument/pull/264, took a bit due to was away from computers.

kwonoj avatar Apr 14 '25 02:04 kwonoj