NPM Build Utilities @ 0.1.3
    Preparing search index...

    Interface Build

    The required shape for a build stage.

    BuildStage.ARGS_DEFAULT For defaults.

    0.1.0-alpha

    interface Build {
        compile: boolean;
        document: boolean;
        minimize: false | Minimize | ((stage: Stage) => Minimize);
        prettify: false | Prettify | ((stage: Stage) => Prettify);
        replace:
            | false
            | (
                (
                    stage: Stage,
                ) => { current?: string[]; ignore?: string[]; package?: string[] }
            );
        test: boolean;
        utils: { compiler?: Stage_Compiler; fs?: FileSystem };
    }

    Hierarchy (View Summary)

    Index

    Properties

    compile: boolean

    Whether to include this sub-stage.

    document: boolean

    Whether to include this sub-stage.

    minimize: false | Minimize | ((stage: Stage) => Minimize)

    Whether to include this sub-stage.

    prettify: false | Prettify | ((stage: Stage) => Prettify)

    Whether to include this sub-stage.

    The first tuple item is an array of file globs and the second item is args to pass to the FileSystem.prettier method, if any.

    replace:
        | false
        | (
            (
                stage: Stage,
            ) => { current?: string[]; ignore?: string[]; package?: string[] }
        )

    Whether to include this sub-stage, or the configuration if so.

    test: boolean

    Whether to include this sub-stage.

    utils: { compiler?: Stage_Compiler; fs?: FileSystem }

    Optional class instances to use.