@nx/js:convert-to-swc
Convert a TSC library to SWC.
Convert a TSC library to SWC.
nx generate convert-to-swc ...
nx g swc ... #same
By 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 @nx/js:convert-to-swc ...
Show what will be generated without writing to disk:
nx g convert-to-swc ... --dry-run
Convert libs/myapp/mylib
to SWC.:
nx g swc mylib
^[a-zA-Z].*$
Library name.
[build]
List of targets to convert.