@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
string
Pattern:
^[a-zA-Z].*$Library name.
targets
Array<string>
Default:
[build]List of targets to convert.