Closed rakleed closed 3 weeks ago
No it’s not possible. Use plugins.swc.rs
Wasm plugins are experimental
@kdy1 I still get this error with @swc/plugin-styled-components@4.0.0
when upgrading to @swc/core@1.8.0
with swc_core@4.0.3. Here's the full log:
Although on https://plugins.swc.rs/versions/range/19 they are listed as compatible.
By the way, the link https://plugins.swc.rs/versions/from-plugin-runner/3.0.0 from the error message shows no information.
And initially I asked to simply release @swc/core
simultaneously with the update of the swc_core
dependency in plugins, since previously I always updated to the latest version of @swc/core
and @swc/plugin-styled-components
, and never encountered incompatibility, since before that you apparently updated the versions of swc_core
simultaneously.
Please update the major version of
swc_core
for plugins simultaneously with@swc/core
. I have now installed@swc/plugin-styled-components
v4.0.0, but since it also expectsswc_core
version 4, it does not work with the current@swc/core
v1.7.42, because it still has version 3 of core.Error:
1: failed to run Wasm plugin transform. Please ensure the version of
swc_coreused by the plugin is compatible with the host runtime. See the documentation for compatibility information. If you are an author of the plugin, please update
swc_coreto the compatible version.