OXC plugin
Available from 0.13.0
The OXC plugin is a port of the Worklets Babel plugin to Rust, built on top of OXC. It's an opt-in alternative to the Babel plugin, which remains the default for the time being. Only Bundle Mode is supported.
Setup
For setup instructions, refer to the Bundle Mode setup with the OXC plugin selected in the tabs.
Options
The OXC plugin accepts the importForwarding option and it works the same way as in the Babel plugin.
bundleMode and strictGlobal are always on and cannot be turned off. The remaining options of the Babel plugin are ignored.
Notes
Being a port, the OXC plugin might not cover every edge case that the Babel plugin does. If you find a difference in behavior, please let us know on GitHub.