@nx/js:convert-to-swc
Convert a TSC library to SWC.
Nx Webinar: Monorepos - The Benefits, Challenges and Importance of Tooling SupportNx Webinar: Monorepos - The Benefits, Challenges and Importance of Tooling SupportRegister
Convert a TSC library to SWC.
1nx generate convert-to-swc ...
2
1nx g swc ... #same
2
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:
1nx g @nx/js:convert-to-swc ...
2
Show what will be generated without writing to disk:
1nx g convert-to-swc ... --dry-run
2
Convert libs/myapp/mylib
to SWC.:
1nx g swc mylib
2
^[a-zA-Z].*$
Library name.
[build]
List of targets to convert.