@vta/plugin-monorepo-builder-tsc
v1.0.6
Published
a monorepo builder that build typescript project
Downloads
4
Readme
@vta/plugin-monorepo-builder-tsc
a vta plugin for build monorepo packages written by Typescript using @vta/tsc. should working with @vta/plugin-monorepo.
Main Features
- building source code by typescript
- building source code by babel after typescript build
- support exclude some files to build
Install
yarn add @vta/plugin-monorepo @vta/plugin-monorepo-builder-tsc --dev
Usage
{
"plugins": [["@vta/monorepo"], ["@vta/monorepo-builder-tsc"]]
}
Options
import { BuilderOptions } from "@vta/plugin-monorepo";
export declare type Options = BuilderOptions<{
project?: string;
babel?: string;
sourceDir?: string;
outDir?: string;
exclude?: string[];
}>;
include
a pattern that should build packages through this. same as @vta/plugin-monorepo
exclude
a pattern that should not build packages through this. same as @vta/plugin-monorepo
options.project
typescript config file. default is tsconfig.json
. detail
options.babel
babel config file. default is babel.config.js
. detail
options.sourceDir
the directory to compile files from. default is src
. detail
options.outDir
the directory to compile files to. default is dist
. detail
options.exclude
the patterns of glob to exclude. detail
Registed Vta Feature
Nothing