nx/docs/generated/packages/vite/migrations/update-20-5-0-install-jiti.json
Colum Ferry c1ebcb9129
feat(vite): add support for vite 6 (#29871)
## Current Behavior
Nx currently supports Vite at version 5. Nx does not generate vite
configurations using Vite 6 which has been released.
 

## Expected Behavior
Nx should use Vite 6 for vite projects.

## TODO
- [x] Add Package Update Migrations for Existing Projects
- [x] Add AST migrations to handle breaking change in resolve.extensions
- [x] Add migration to install `jsx` or `jiti` to handle processing TS
postcss config files
2025-02-11 11:28:23 -05:00

13 lines
724 B
JSON

{
"name": "update-20-5-0-install-jiti",
"version": "20.5.0-beta.2",
"description": "Install jiti as a devDependency to allow vite to parse TS postcss files.",
"implementation": "/packages/vite/src/migrations/update-20-5-0/install-jiti.ts",
"aliases": [],
"hidden": false,
"path": "/packages/vite",
"schema": null,
"type": "migration",
"examplesFile": "#### Installs the `jiti` package\n\nThis migration ensures that the [`jiti`](https://github.com/unjs/jiti) package is installed. \nThis is a requirement for Vite to parse `postcss` configuration files that use TypeScript.\n\nLearn more: [https://vite.dev/guide/migration#postcss-load-config](https://vite.dev/guide/migration#postcss-load-config)\n"
}