A plugin for swc to transform
let a = arr[-1];
to
let a = arr[arr.length - 1];
download .wasm from release .swcrc
{
"jsc": {
"experimental": {
"plugins": [
[
"absolute path to .wasm",
{}
]
]
}
}
}