@nx/vite:setup-paths-plugin
Updates vite config files to enable support for workspace libraries via the nxViteTsPaths plugin.
Updates vite config files to enable support for workspace libraries via the nxViteTsPaths plugin.
1nx generate setup-paths-plugin ...
2
By default, Nx will search for setup-paths-plugin
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/vite:setup-paths-plugin ...
2
Show what will be generated without writing to disk:
1nx g setup-paths-plugin ... --dry-run
2
false
Skip formatting files.