Skip to content

RollupCompatibleFeaturePlugin.transform

RollupCompatibleFeaturePlugin › transform

Type: FeaturePluginHook<(this: FeaturePluginContext, code: string, id: string) => Promise<null | TransformResultLike>>

Compiles a module the features transform, then replaces the compile-time constants.