@nx/vite:setup-paths-plugin
Updates vite config files to enable support for workspace libraries via the nxViteTsPaths plugin.
Monorepo World: October 7, 2024Monorepo World: October 7, 2024Join us!
Updates vite config files to enable support for workspace libraries via the nxViteTsPaths plugin.
1nx generate setup-paths-plugin ...
2By 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 ...
2Show what will be generated without writing to disk:
1nx g setup-paths-plugin ... --dry-run
2falseSkip formatting files.