@oazmi/build-tools - v0.2.7
    Preparing search index...

    Interface TransformationConfig

    a single configuration for the re-transformation function transform.

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

    Hierarchy (View Summary)

    Index

    Properties

    pattern?: null | string | RegExp | PathPatternMatchingFn

    specify the output file-path capturing pattern for applying this transformation onto. you have the ability to use a glob-string, or a regular expression (RegExp), or a function that returns true when the input file name is accepted. if no pattern is provided, then all of your input im-memory files will be processed through this transformation.

    undefined

    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.