Interface TransformationCliConfig

a single configuration for the re-transformation function transform.

interface TransformationCliConfig {
    pattern?: null | string;
    loader?: any;
    options?: Omit<EsTransformOptions, "loader">;
}

Hierarchy (view full)

Properties

pattern?: null | string

in cli mode, only glob string patterns are accepted. for details on what the pattern does, see TransformationConfig.pattern.

loader?: any

the esbuild loader to use for transforming the captured file's contents. if nothing is provided, then it defaults to javascript ("js").

"js"

options?: Omit<EsTransformOptions, "loader">

specify additional esbuild transformer api options to configure.