@nx/vite:setup-paths-plugin

Updates vite config files to enable support for workspace libraries via the nxViteTsPaths plugin.

Usage

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

Options

skipFormat

boolean
Default: false

Skip formatting files.