This is supported on crate feature plugin-base only.
Expand description

Plugin support.

We need to replace operations related to thread-local variables in swc_common.

Structs

Wraps internal representation of serialized data. Consumers should not rely on specific details of byte format struct contains: it is strictly implementation detail which can change anytime.

Enums

Enum for possible errors while running transform via plugin. Mostly this enum is being used to bubble up error occurred inside of plugin runtime which we can’t transparently pass forward Error itself. Host (SWC) will try to attach context if possible then raise it as Error.

The resolver for an archived PluginError