NPM Build Utilities @ 0.3.0-alpha.9
    Preparing search index...

    Interface Compile

    The required shape for a compile stage.

    CompileStage.ARGS_DEFAULT For defaults.

    0.1.0-alpha

    interface Compile {
        files: false | { root?: CopyFilesInput[]; src?: CopyFilesInput[] };
        scss: boolean | { postCSS: boolean };
        ts: boolean;
        utils: { compiler?: Stage_Compiler; fs?: FileSystem };
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    files: false | { root?: CopyFilesInput[]; src?: CopyFilesInput[] }

    Whether to include this sub-stage.

    If an object, paths to files copied to the dist directory during compile.

    Type Declaration

    0.3.0-alpha.1 — Now using new CopyFilesInput type.

    scss: boolean | { postCSS: boolean }

    Whether to include this sub-stage.

    If an object, settings for steps within the sub-stage.

    Type Declaration

    • boolean
    • { postCSS: boolean }
      • postCSS: boolean

        Whether to run PostCSS on the compiled css.

    0.2.0-alpha — Now can be an object to pass params.

    ts: boolean

    Whether to include this sub-stage.

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

    Optional class instances to use.