@nrwl/js:swc
Builds using SWC.
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.
Builds using SWC.
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.
peerDependencies
dependencies
, peerDependencies
When updateBuildableProjectDepsInPackageJson
is true
, this adds dependencies to either peerDependencies
or dependencies
.
true
Remove previous output before build.
A list projects to be treated as external. This feature is experimental
[build]
List of target names that annotate a build target for a project
The name of the main entry-point file.
The output path of the generated files.
The path to the SWC configuration file. Default: .lib.swcrc
false
Whether to skip TypeScript type checking.
[./src/**/.*.spec.ts$,./**/.*.spec.ts$,./src/**/jest-setup.ts$,./**/jest-setup.ts$,./**/.*.js$]
List of SWC Glob/Regex to be excluded from compilation (https://swc.rs/docs/configuration/compilation#exclude).
The path to the Typescript configuration file.
true
Whether to update the buildable project dependencies in package.json
.
false
Enable re-building when files change.