diff --git a/docs/_data/team.js b/docs/_data/team.js index 8a30fb222cf2ba..54f089f613c6c3 100644 --- a/docs/_data/team.js +++ b/docs/_data/team.js @@ -66,7 +66,7 @@ export const core = [ title: 'Developer', org: 'Vue.js', orgLink: 'https://vuejs.org/', - desc: 'Vite/Vite core team member. Full-time open sourcerer.', + desc: 'Vue/Vite core team member. Full-time open sourcerer.', links: [ { icon: 'github', link: 'https://github.com/sodatea' }, { icon: 'twitter', link: 'https://twitter.com/haoqunjiang' }, diff --git a/docs/guide/migration.md b/docs/guide/migration.md index c4e9c9b28e2e67..ec355c9890218b 100644 --- a/docs/guide/migration.md +++ b/docs/guide/migration.md @@ -2,7 +2,7 @@ ## Rollup 3 -Vite is now using [Rollup 3](https://github.com/vitejs/vite/issues/9870), which allowed us to simplify Vite's internal asset handling and has many improvements. See the [Rollup 3 release notes here](https://github.com/rollup/rollup/releases). +Vite is now using [Rollup 3](https://github.com/vitejs/vite/issues/9870), which allowed us to simplify Vite's internal asset handling and has many improvements. See the [Rollup 3 release notes here](https://github.com/rollup/rollup/releases/tag/v3.0.0). Rollup 3 is mostly compatible with Rollup 2. If you are using custom [`rollupOptions`](../config/build-options.md#rollup-options) in your project and encounter issues, refer to the [Rollup migration guide](https://rollupjs.org/guide/en/#migration) to upgrade your config. diff --git a/docs/plugins/index.md b/docs/plugins/index.md index 4d502384c43416..dd7cfce8733419 100644 --- a/docs/plugins/index.md +++ b/docs/plugins/index.md @@ -22,11 +22,11 @@ Check out [Using Plugins](../guide/using-plugins) for information on how to use ### [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react) -- Uses esbuild and Babel, achieving fast HMR with a small package footprint and the flexibility of being able to use the Babel transform pipeline. +- Uses esbuild and Babel, achieving fast HMR with a small package footprint and the flexibility of being able to use the Babel transform pipeline. Without additional Babel plugins, only esbuild is used during builds. ### [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) -- Uses esbuild during build, but replaces Babel with SWC during development. For big projects that don't require non-standard React extensions, cold start and Hot Module Replacement (HMR) can be significantly faster. +- Replaces Babel with SWC during development. During builds, SWC+esbuild are used when using plugins, and esbuild only otherwise. For big projects that don't require non-standard React extensions, cold start and Hot Module Replacement (HMR) can be significantly faster. ### [@vitejs/plugin-legacy](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy) diff --git a/packages/vite/CHANGELOG.md b/packages/vite/CHANGELOG.md index f4d4ca6dbe971f..01b8c71e5dea83 100644 --- a/packages/vite/CHANGELOG.md +++ b/packages/vite/CHANGELOG.md @@ -1,3 +1,16 @@ +## 4.1.3 (2023-02-20) + +* fix: catch and handle websocket error (#11991) (#12007) ([4b5cc9f](https://github.com/vitejs/vite/commit/4b5cc9f)), closes [#11991](https://github.com/vitejs/vite/issues/11991) [#12007](https://github.com/vitejs/vite/issues/12007) +* fix: do not append version query param when scanning for dependencies (#11961) ([575bcf6](https://github.com/vitejs/vite/commit/575bcf6)), closes [#11961](https://github.com/vitejs/vite/issues/11961) +* fix(css): handle pure css chunk heuristic with special queries (#12091) ([a873af5](https://github.com/vitejs/vite/commit/a873af5)), closes [#12091](https://github.com/vitejs/vite/issues/12091) +* fix(esbuild): umd helper insert into wrong position in lib mode (#11988) ([86bc243](https://github.com/vitejs/vite/commit/86bc243)), closes [#11988](https://github.com/vitejs/vite/issues/11988) +* fix(html): respect disable modulepreload (#12111) ([6c50119](https://github.com/vitejs/vite/commit/6c50119)), closes [#12111](https://github.com/vitejs/vite/issues/12111) +* fix(html): rewrite assets url in `