Selecting the version
Currently, the Wasm plugins are not backwards compatible.
So you need to select an appropriate version of
swc_core for your plugin.
Thie page documents the version of
swc_core you can use for each runtime.
Note for next.js
v13.3.1cannot execute SWC Wasm plugins, due to a bug of
next-swc(opens in a new tab).
If you use a version in a range of the title, the Wasm plugin will work for the runtimes written in the body.
We modified AST definitions because of Explicit Resource Management proposal (opens in a new tab), which is stage 3.
We enabled strict mode of
rkyv and updated
v0.7.40 and the bug is now fixed.
Due to a bug of
email@example.com, you are recommended to use
nightly-2022-09-23 as the compiler if you are building a plugin for these targets.
Last updated on May 17, 2023