NPM Build Utilities @ 0.1.3
    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?: string[]; src?: string[] };
        scss: boolean;
        ts: boolean;
        utils: { compiler?: Stage_Compiler; fs?: FileSystem };
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

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

    Whether to include this sub-stage.

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

    Type declaration

    • false
    • { root?: string[]; src?: string[] }
      • Optionalroot?: string[]

        Paths relative to the project root — to copy to the dist directory.

      • Optionalsrc?: string[]

        Paths relative to the source directory — to copy to the dist directory.

    scss: boolean

    Whether to include this sub-stage.

    ts: boolean

    Whether to include this sub-stage.

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

    Optional class instances to use.