Interface ProjectOutputInit

Project output initialization options.

interface ProjectOutputInit {
    cacheDir?: string;
    distDir?: string;
    gitignore?: boolean | GitIgnoreFile;
    npmignore?: boolean | GitIgnoreFile;
    targetDir?: string;
}

Hierarchy (view full)

Implemented by

Properties

cacheDir?: string

Cache directory relative to build target directory.

Temporary directory.
distDir?: string

Distributable files` directory relative to {@link ProjectConfig#rootDir project root}.

@defaultValue dist

gitignore?: boolean | GitIgnoreFile

How to manage .gitignore file.

Either a flag, or custom GitIgnoreFile instance.

true.

npmignore?: boolean | GitIgnoreFile

How to manage .npmignore file.

Either a flag, or custom GitIgnoreFile instance.

true.

targetDir?: string

Directory containing build targets relative to project root.

Unlike distDir, this one is not supposed to be published at NPM.

target.