Skip to content

The @nx/vite plugin provides various migrations to help you migrate to newer versions of vite projects within your Nx workspace. Below is a complete reference for all available migrations.

21.5.x

Package Updates for 21.5.0

The following packages will be updated:

PackageVersion
vite^7.1.3

21.3.x

Package Updates for 21.3.0

The following packages will be updated:

PackageVersion
@analogjs/vite-plugin-angular~1.19.1
@analogjs/vitest-angular~1.19.1

21.2.x

Package Updates for 21.2.0

The following packages will be updated:

PackageVersion
@analogjs/vite-plugin-angular~1.17.1
@analogjs/vitest-angular~1.17.1

21.1.x

Package Updates for 21.1.2

The following packages will be updated:

PackageVersion
@analogjs/vitest-angular~1.16.1

20.7.x

Package Updates for 20.7.1

The following packages will be updated:

PackageVersion
@analogjs/vite-plugin-angular~1.14.1
@analogjs/vitest-angular~1.14.1

20.5.x

update-20-5-0-install-jiti

Install jiti as a devDependency to allow vite to parse TS postcss files.

update-20-5-0-update-resolve-conditions

Update resolve.conditions to include defaults that are no longer provided by Vite.

eslint-ignore-vite-temp-files

Add vite config temporary files to the ESLint configuration ignore patterns if ESLint is used.

Package Updates for 20.5.0

The following packages will be updated:

PackageVersion
vite^6.0.0
vite-plugin-dts~4.5.0

20.3.x

update-20-3-0

Add gitignore entry for temporary vitest config files.

20.0.x

update-20-0-4

Add gitignore entry for temporary vite config files.

update-20-0-6

Add gitignore entry for temporary vite config files and remove previous incorrect glob.

19.6.x

update-19-6-0-add-depends-on-for-preview-server

Add dependsOn: [build] to preview targets using preview-server