@nrwl/js:tsc
Builds using TypeScript.
Options can be configured in project.json
when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/reference/project-configuration#targets.
Examples
@nrwl/js:tsc
can run the TypeScript Transformers by using the transformers
option.
{
"build": {
"executor": "@nrwl/js:tsc",
"options": {
"outputPath": "dist/libs/ts-lib",
"main": "libs/ts-lib/src/index.ts",
"tsConfig": "libs/ts-lib/tsconfig.lib.json",
"assets": ["libs/ts-lib/*.md"],
"transformers": [
"@nestjs/swagger/plugin",
{
"name": "@automapper/classes/transformer-plugin",
"options": {}
}
]
}
}
}