@nx/js:convert-to-swc
Convert a TSC library to SWC.
Monorepo World: October 7, 2024Monorepo World: October 7, 2024Join us!
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.