@nrwl/js:convert-to-swc
Convert a tsc library to swc
Usage
nx generate convert-to-swc ...nx g swc ... # sameBy default, Nx will search for convert-to-swc in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/js:convert-to-swc ...Show what will be generated without writing to disk:
nx g convert-to-swc ... --dry-runExamples
Convert libs/myapp/mylib to swc:
nx g swc mylibOptions
project (required)
Type: string
Library name
targets
Type: array
List of targets to convert