pub fn enhanced_transform(
filename: &str,
source_text: &str,
transform_options: EnhancedTransformOptions,
yarn_pnp: bool,
) -> EnhancedTransformResultExpand description
Transform source code using the internal Oxc parser and transformer.
ยงArguments
filename- The filename (used for source type detection and error reporting)source_text- The source code to transformtransform_options- Transform options including tsconfig and sourcemap settingsyarn_pnp- Whether to enable Yarn PnP support when resolving tsconfig