Update dependency vite to v4.1.1 - autoclosed
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
vite (source) | 4.0.4 -> 4.1.1 |
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
vitejs/vite
v4.1.1
- chore: 4.1.0 changelog cleanup (#11900) (7747d32), closes #11900
- fix: catch statSync error (#11907) (f80b9a2), closes #11907
v4.1.0
Vite 4.1 updates to the latest versions of Rollup and esbuild. Check out the new Rollup docs, that are now powered by VitePress making the navigation between Vite and Rollup docs easier for users.
Vite docs got a theme update migrating to the latest version of VitePress.
As part of Vite 4, the Vue and React plugins have been extracted out of the monorepo. Although their release cycle will no longer follow Vite releases moving forward, Vite 4.1 is released in parallel with new versions of @vitejs/plugin-react and @vitejs/plugin-react-swc. @vitejs/plugin-react 3.1.0 reworks the way HMR is handled fixing many edge cases and @vitejs/plugin-react-swc 3.1.0 adds support for SWC plugins.
There is also a new major for @vitejs/plugin-legacy, see changelog for v4.0.0. This version contains breaking changes:
- Support browserslist and update default target (#11318). See updated
targets
default. - Bump modern target to support async generator (#11896). Learn more at the browsers support docs.
Features
- feat: add experimental option to skip SSR transform (#11411) (e781ef3), closes #11411
- feat: reproducible manifest (#11542) (efc8979), closes #11542
- feat: support BROWSER and BROWSER_ARGS in env file (#11513) (8972868), closes #11513
- feat(cli): clear console by pressing c (#11493) (#11494) (1ae018f), closes #11493 #11494
- perf(build): disable rollup cache for builds (#11454) (580ba7a), closes #11454
- perf(resolve): improve file existence check (#11436) (4a12b89), closes #11436
Bug Fixes
- fix: await bundle closing (#11873) (1e6768d), closes #11873
- fix: make viteMetadata property of RenderedChunk optional (#11768) (128f09e), closes #11768
- fix: replace import.meta.hot with undefined in the production (#11317) (73afe6d), closes #11317
- fix: update CJS interop error message (#11842) (356ddfe), closes #11842
- fix(client): serve client sources next to deployed scripts (#11865) (63bd261), closes #11865
- fix(deps): update all non-major dependencies (#11846) (5d55083), closes #11846
- fix(esbuild): avoid polluting global namespace while minify is false (#11882) (c895379), closes #11882
- fix: deep resolve side effects when glob does not contain / (#11807) (f3a0c3b), closes #11807
- fix: duplicated sourceMappingURL for worker bundles (fix #11601) (#11602) (5444781), closes #11601 #11602
- fix: emit assets from SSR build (#11430) (ffbdcdb), closes #11430
- fix: revert "load sourcemaps alongside modules (#11576)" (#11775) (697dd00), closes #11576 #11775
- fix: scope tracking for shadowing variables in blocks (#11806) (#11811) (568bdab), closes #11806 #11811
- fix(cli): exit 1 on ctrl+c (#11563) (fb77411), closes #11563
- fix(css): insert styles in the same position (#11763) (d2f1381), closes #11763
- fix(esbuild): check server before reload tsconfig (#11747) (c56b954), closes #11747
- fix(hmr): hmr websocket failure for custom middleware mode with server.hmr.server (#11487) (00919bb), closes #11487
- fix(ssr): load sourcemaps alongside modules (fix: #3288) (#11576) (dc05e97), closes #3288 #11576
- refactor: upgrade resolve.exports (#11712) (00a79ec), closes #11712
- fix: remove moment from force interop packages (#11502) (b89ddd6), closes #11502
- fix(css): fix stale css when reloading with hmr disabled (#10270) (#11506) (e5807c4), closes #10270 #11506
- fix(hmr): base default protocol on client source location (#11497) (167753d), closes #11497
- fix(metadata): expose viteMetadata type (#11511) (32dee3c), closes #11511
- fix(resolve): ensure exports has precedence over mainFields (cherry pick #11234) (#11595) (691e432), closes #11234 #11595
- fix(resolve): use only root package.json as exports source (#11259) (b9afa6e), closes #11259
- refactor(build): close rollup bundle directly (#11460) (a802828), closes #11460
Previous Changelogs
4.1.0-beta.2 (2023-02-01)
4.1.0-beta.1 (2023-01-26)
4.1.0-beta.0 (2023-01-09)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.