fix(deps): update dependency vite to v4.4.8 #9

Merged
renovate-bot merged 1 commits from renovate/vite-4.x-lockfile into master 2023-08-03 03:50:06 +00:00
Collaborator

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite (source) 4.0.1 -> 4.4.8 age adoption passing confidence

Release Notes

vitejs/vite (vite)

v4.4.8

Compare Source

v4.4.7

Compare Source

v4.4.6

Compare Source

v4.4.5

Compare Source

v4.4.4

Compare Source

v4.4.3

Compare Source

v4.4.2

Compare Source

v4.4.1

Compare Source

v4.4.0

Compare Source

Experimental support for Lightning CSS

Starting from Vite 4.4, there is experimental support for Lightning CSS. You can opt into it by adding css.transformer: 'lightningcss' to your config file and install the optional lightningcss dev dependency. If enabled, CSS files will be processed by Lightning CSS instead of PostCSS.

Lightning CSS can also be used as the CSS minifier with build.cssMinify: 'lightningcss'.

See beta docs at the Lighting CSS guide.

esbuild 0.18 update

esbuild 0.18 contains backwards-incompatible changes to esbuild's handling of tsconfig.json files. We think they shouldn't affect Vite users, you can review #​13525 for more information.

Templates for Solid and Qwik in create-vite

New starter templates have been added to create-vite for Solid and Qwik. Try them online at vite.new/solid-ts and vite.new/qwik-ts.

Korean Translation

Vite's docs are now translated to Korean, available at ko.vitejs.dev.

Features
Bug Fixes
Previous Changelogs
4.4.0-beta.4 (2023-07-03)

See 4.4.0-beta.4 changelog

4.4.0-beta.3 (2023-06-25)

See 4.4.0-beta.3 changelog

4.4.0-beta.2 (2023-06-22)

See 4.4.0-beta.2 changelog

4.4.0-beta.1 (2023-06-21)

See 4.4.0-beta.1 changelog

4.4.0-beta.0 (2023-06-20)

See 4.4.0-beta.0 changelog

v4.3.9

Compare Source

v4.3.8

Compare Source

v4.3.7

Compare Source

v4.3.6

Compare Source

v4.3.5

Compare Source

v4.3.4

Compare Source

v4.3.3

Compare Source

v4.3.2

Compare Source

v4.3.1

Compare Source

v4.3.0

Compare Source

Vite 4.3 is out! Read the announcement blog post here

Vite 4.3, It's Fast

In this minor, we focused on improving the dev server performance. The resolve logic got streamlined, improving hot paths and implementing smarter caching for finding package.json, TS config files, and resolved URL in general.

You can read a detailed walkthrough of the performance work done in this blog post by one of Vite Contributors: How we made Vite 4.3 faaaaster 🚀.

This sprint resulted in speed improvements across the board compared to Vite 4.2.

These are the performance improvements as measured by sapphi-red/performance-compare, which tests an app with 1000 React Components cold and warm dev server startup time as well as HMR times for a root and a leaf component:

Vite (babel) Vite 4.2 Vite 4.3 Improvement
dev cold start 17249.0ms 5132.4ms -70.2%
dev warm start 6027.8ms 4536.1ms -24.7%
Root HMR 46.8ms 26.7ms -42.9%
Leaf HMR 27.0ms 12.9ms -52.2%
Vite (swc) Vite 4.2 Vite 4.3 Improvement
dev cold start 13552.5ms 3201.0ms -76.4%
dev warm start 4625.5ms 2834.4ms -38.7%
Root HMR 30.5ms 24.0ms -21.3%
Leaf HMR 16.9ms 10.0ms -40.8%

You can read more information about the benchmark here

Features
Performance
Bug Fixes
Clean up
Previous Changelogs
4.3.0-beta.8 (2023-04-19)

See 4.3.0-beta.8 changelog

4.3.0-beta.7 (2023-04-17)

See 4.3.0-beta.7 changelog

4.3.0-beta.6 (2023-04-14)

See 4.3.0-beta.6 changelog

4.3.0-beta.5 (2023-04-11)

See 4.3.0-beta.5 changelog

4.3.0-beta.4 (2023-04-09)

See 4.3.0-beta.4 changelog

4.3.0-beta.3 (2023-04-07)

See 4.3.0-beta.3 changelog

4.3.0-beta.2 (2023-04-05)

See 4.3.0-beta.2 changelog

4.3.0-beta.1 (2023-03-29)

See 4.3.0-beta.1 changelog

4.3.0-beta.0 (2023-03-23)

See 4.3.0-beta.0 changelog

v4.2.3

Compare Source

Please refer to CHANGELOG.md for details.

v4.2.2

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source

Vite 4.2 is out!

Support env variables replacement in HTML files

Vite now supports replacing env variables in HTML files. Any properties in import.meta.env can be used in HTML files with a special %ENV_NAME% syntax:

<h1>Vite is running in %MODE%</h1>
<p>Using data from %VITE_API_URL%</p>
Sourcemaps improvements

The Chrome Dev Tools team has been working to improve the DX of Vite and Vite-powered frameworks in the dev tools. Vite 4.2 brings an improved experience and tools for framework authors to hide 3rd party code and build artifacts from the user from console log traces using server.sourcemapIgnoreList and build.rollupOptions.output.sourcemapIgnoreList.

ESM subpath imports

Vite 4.2 now supports subpath imports, thanks to @​lukeed05's resolve.exports library.

TypeScript 5 support

Vite 4.2 also supports TypeScript 5's tsconfig extends array format, thanks to tsconfck.

esbuild 0.17

esbuild v0.17.0 improved the design of its incremental, watch, and serve APIs. Check out #​11908 for the rationale of why we didn't consider the backward-incompatible changes breaking for our use cases. The updated esbuild design now allows Vite to properly cancel in-fly builds and improve server restarts.

Use Rollup types from the vite package

Expose Rollup types as a namespace. This is helpful to avoid type conflicts because of different versions of Rollup types in environments like vite-ecosystem-ci (#​12316).

import type { Rollup } from 'vite'
Português Docs Translation

The Vite documentation is now translated to Português at pt.vitejs.dev thanks to Nazaré Da Piedade .

Features
Bug Fixes
Previous Changelogs
4.2.0-beta.2 (2023-03-13)

See 4.2.0-beta.2 changelog

4.2.0-beta.1 (2023-03-07)

See 4.2.0-beta.1 changelog

4.2.0-beta.0 (2023-02-27)

See 4.2.0-beta.0 changelog

v4.1.5

Compare Source

Please refer to CHANGELOG.md for details.

v4.1.4

Compare Source

v4.1.3

Compare Source

v4.1.2

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

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:

Features
Bug Fixes
Previous Changelogs
4.1.0-beta.2 (2023-02-01)

See 4.1.0-beta.2 changelog

4.1.0-beta.1 (2023-01-26)

See 4.1.0-beta.1 changelog

4.1.0-beta.0 (2023-01-09)

See 4.1.0-beta.0 changelog

v4.0.5

Compare Source

Please refer to CHANGELOG.md for details.

v4.0.4

Compare Source

v4.0.3

Compare Source

v4.0.2

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vite](https://github.com/vitejs/vite/tree/main/#readme) ([source](https://github.com/vitejs/vite)) | [`4.0.1` -> `4.4.8`](https://renovatebot.com/diffs/npm/vite/4.0.1/4.4.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.0.1/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.0.1/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite (vite)</summary> ### [`v4.4.8`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small448-2023-07-31-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.4.7...v4.4.8) - fix: modulePreload false ([#&#8203;13973](https://github.com/vitejs/vite/issues/13973)) ([488085d](https://github.com/vitejs/vite/commit/488085d)), closes [#&#8203;13973](https://github.com/vitejs/vite/issues/13973) - fix: multiple entries with shared css and no JS ([#&#8203;13962](https://github.com/vitejs/vite/issues/13962)) ([89a3db0](https://github.com/vitejs/vite/commit/89a3db0)), closes [#&#8203;13962](https://github.com/vitejs/vite/issues/13962) - fix: use file extensions on type imports so they work with `moduleResolution: 'node16'` ([#&#8203;13947](https://github.com/vitejs/vite/issues/13947)) ([aeef670](https://github.com/vitejs/vite/commit/aeef670)), closes [#&#8203;13947](https://github.com/vitejs/vite/issues/13947) - fix(css): enhance error message for missing preprocessor dependency ([#&#8203;11485](https://github.com/vitejs/vite/issues/11485)) ([65e5c22](https://github.com/vitejs/vite/commit/65e5c22)), closes [#&#8203;11485](https://github.com/vitejs/vite/issues/11485) - fix(esbuild): fix static properties transpile when useDefineForClassFields false ([#&#8203;13992](https://github.com/vitejs/vite/issues/13992)) ([4ca7c13](https://github.com/vitejs/vite/commit/4ca7c13)), closes [#&#8203;13992](https://github.com/vitejs/vite/issues/13992) - fix(importAnalysis): strip url base before passing as safeModulePaths ([#&#8203;13712](https://github.com/vitejs/vite/issues/13712)) ([1ab06a8](https://github.com/vitejs/vite/commit/1ab06a8)), closes [#&#8203;13712](https://github.com/vitejs/vite/issues/13712) - fix(importMetaGlob): avoid unnecessary hmr of negative glob ([#&#8203;13646](https://github.com/vitejs/vite/issues/13646)) ([844451c](https://github.com/vitejs/vite/commit/844451c)), closes [#&#8203;13646](https://github.com/vitejs/vite/issues/13646) - fix(optimizer): avoid double-commit of optimized deps when discovery is disabled ([#&#8203;13865](https://github.com/vitejs/vite/issues/13865)) ([df77991](https://github.com/vitejs/vite/commit/df77991)), closes [#&#8203;13865](https://github.com/vitejs/vite/issues/13865) - fix(optimizer): enable experimentalDecorators by default ([#&#8203;13981](https://github.com/vitejs/vite/issues/13981)) ([f8a5ffc](https://github.com/vitejs/vite/commit/f8a5ffc)), closes [#&#8203;13981](https://github.com/vitejs/vite/issues/13981) - perf: replace startsWith with === ([#&#8203;13989](https://github.com/vitejs/vite/issues/13989)) ([3aab14e](https://github.com/vitejs/vite/commit/3aab14e)), closes [#&#8203;13989](https://github.com/vitejs/vite/issues/13989) - perf: single slash does not need to be replaced ([#&#8203;13980](https://github.com/vitejs/vite/issues/13980)) ([66f522c](https://github.com/vitejs/vite/commit/66f522c)), closes [#&#8203;13980](https://github.com/vitejs/vite/issues/13980) - perf: use Intl.DateTimeFormatter instead of toLocaleTimeString ([#&#8203;13951](https://github.com/vitejs/vite/issues/13951)) ([af53a1d](https://github.com/vitejs/vite/commit/af53a1d)), closes [#&#8203;13951](https://github.com/vitejs/vite/issues/13951) - perf: use Intl.NumberFormat instead of toLocaleString ([#&#8203;13949](https://github.com/vitejs/vite/issues/13949)) ([a48bf88](https://github.com/vitejs/vite/commit/a48bf88)), closes [#&#8203;13949](https://github.com/vitejs/vite/issues/13949) - perf: use magic-string hires boundary for sourcemaps ([#&#8203;13971](https://github.com/vitejs/vite/issues/13971)) ([b9a8d65](https://github.com/vitejs/vite/commit/b9a8d65)), closes [#&#8203;13971](https://github.com/vitejs/vite/issues/13971) - chore(reporter): remove unnecessary map ([#&#8203;13972](https://github.com/vitejs/vite/issues/13972)) ([dd9d4c1](https://github.com/vitejs/vite/commit/dd9d4c1)), closes [#&#8203;13972](https://github.com/vitejs/vite/issues/13972) - refactor: add new overload to the type of defineConfig ([#&#8203;13958](https://github.com/vitejs/vite/issues/13958)) ([24c12fe](https://github.com/vitejs/vite/commit/24c12fe)), closes [#&#8203;13958](https://github.com/vitejs/vite/issues/13958) ### [`v4.4.7`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small447-2023-07-24-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.4.6...v4.4.7) - fix: `optimizeDeps.include` not working with paths inside packages ([#&#8203;13922](https://github.com/vitejs/vite/issues/13922)) ([06e4f57](https://github.com/vitejs/vite/commit/06e4f57)), closes [#&#8203;13922](https://github.com/vitejs/vite/issues/13922) - fix: lightningcss fails with html-proxy ([#&#8203;13776](https://github.com/vitejs/vite/issues/13776)) ([6b56094](https://github.com/vitejs/vite/commit/6b56094)), closes [#&#8203;13776](https://github.com/vitejs/vite/issues/13776) - fix: prepend `config.base` to vite/env path ([#&#8203;13941](https://github.com/vitejs/vite/issues/13941)) ([8e6cee8](https://github.com/vitejs/vite/commit/8e6cee8)), closes [#&#8203;13941](https://github.com/vitejs/vite/issues/13941) - fix(html): support `import.meta.env` define replacement without quotes ([#&#8203;13425](https://github.com/vitejs/vite/issues/13425)) ([883089c](https://github.com/vitejs/vite/commit/883089c)), closes [#&#8203;13425](https://github.com/vitejs/vite/issues/13425) - fix(proxy): handle error when proxy itself errors ([#&#8203;13929](https://github.com/vitejs/vite/issues/13929)) ([4848e41](https://github.com/vitejs/vite/commit/4848e41)), closes [#&#8203;13929](https://github.com/vitejs/vite/issues/13929) - chore(eslint): allow type annotations ([#&#8203;13920](https://github.com/vitejs/vite/issues/13920)) ([d1264fd](https://github.com/vitejs/vite/commit/d1264fd)), closes [#&#8203;13920](https://github.com/vitejs/vite/issues/13920) ### [`v4.4.6`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small446-2023-07-21-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.4.5...v4.4.6) - fix: constrain inject helpers for iife ([#&#8203;13909](https://github.com/vitejs/vite/issues/13909)) ([c89f677](https://github.com/vitejs/vite/commit/c89f677)), closes [#&#8203;13909](https://github.com/vitejs/vite/issues/13909) - fix: display manualChunks warning only when a function is not used ([#&#8203;13797](https://github.com/vitejs/vite/issues/13797)) ([#&#8203;13798](https://github.com/vitejs/vite/issues/13798)) ([51c271f](https://github.com/vitejs/vite/commit/51c271f)), closes [#&#8203;13797](https://github.com/vitejs/vite/issues/13797) [#&#8203;13798](https://github.com/vitejs/vite/issues/13798) - fix: do not append `browserHash` on optimized deps during build ([#&#8203;13906](https://github.com/vitejs/vite/issues/13906)) ([0fb2340](https://github.com/vitejs/vite/commit/0fb2340)), closes [#&#8203;13906](https://github.com/vitejs/vite/issues/13906) - fix: use Bun's implementation of `ws` instead of the bundled one ([#&#8203;13901](https://github.com/vitejs/vite/issues/13901)) ([049404c](https://github.com/vitejs/vite/commit/049404c)), closes [#&#8203;13901](https://github.com/vitejs/vite/issues/13901) - feat(client): add guide to press Esc for closing the overlay ([#&#8203;13896](https://github.com/vitejs/vite/issues/13896)) ([da389cc](https://github.com/vitejs/vite/commit/da389cc)), closes [#&#8203;13896](https://github.com/vitejs/vite/issues/13896) ### [`v4.4.5`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small445-2023-07-20-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.4.4...v4.4.5) - fix: "EISDIR: illegal operation on a directory, realpath" error on RA… ([#&#8203;13655](https://github.com/vitejs/vite/issues/13655)) ([6bd5434](https://github.com/vitejs/vite/commit/6bd5434)), closes [#&#8203;13655](https://github.com/vitejs/vite/issues/13655) - fix: transform error message add file info ([#&#8203;13687](https://github.com/vitejs/vite/issues/13687)) ([6dca41c](https://github.com/vitejs/vite/commit/6dca41c)), closes [#&#8203;13687](https://github.com/vitejs/vite/issues/13687) - fix: warn when publicDir and outDir are nested ([#&#8203;13742](https://github.com/vitejs/vite/issues/13742)) ([4eb3154](https://github.com/vitejs/vite/commit/4eb3154)), closes [#&#8203;13742](https://github.com/vitejs/vite/issues/13742) - fix(build): remove warning about ineffective dynamic import from node_modules ([#&#8203;13884](https://github.com/vitejs/vite/issues/13884)) ([33002dd](https://github.com/vitejs/vite/commit/33002dd)), closes [#&#8203;13884](https://github.com/vitejs/vite/issues/13884) - fix(build): style insert order for UMD builds (fix [#&#8203;13668](https://github.com/vitejs/vite/issues/13668)) ([#&#8203;13669](https://github.com/vitejs/vite/issues/13669)) ([49a1b99](https://github.com/vitejs/vite/commit/49a1b99)), closes [#&#8203;13668](https://github.com/vitejs/vite/issues/13668) [#&#8203;13669](https://github.com/vitejs/vite/issues/13669) - fix(deps): update all non-major dependencies ([#&#8203;13872](https://github.com/vitejs/vite/issues/13872)) ([975a631](https://github.com/vitejs/vite/commit/975a631)), closes [#&#8203;13872](https://github.com/vitejs/vite/issues/13872) - fix(types): narrow down the return type of `defineConfig` ([#&#8203;13792](https://github.com/vitejs/vite/issues/13792)) ([c971f26](https://github.com/vitejs/vite/commit/c971f26)), closes [#&#8203;13792](https://github.com/vitejs/vite/issues/13792) - chore: fix typos ([#&#8203;13862](https://github.com/vitejs/vite/issues/13862)) ([f54e8da](https://github.com/vitejs/vite/commit/f54e8da)), closes [#&#8203;13862](https://github.com/vitejs/vite/issues/13862) - chore: replace `any` with `string` ([#&#8203;13850](https://github.com/vitejs/vite/issues/13850)) ([4606fd8](https://github.com/vitejs/vite/commit/4606fd8)), closes [#&#8203;13850](https://github.com/vitejs/vite/issues/13850) - chore(deps): update dependency prettier to v3 ([#&#8203;13759](https://github.com/vitejs/vite/issues/13759)) ([5a56941](https://github.com/vitejs/vite/commit/5a56941)), closes [#&#8203;13759](https://github.com/vitejs/vite/issues/13759) - docs: fix build.cssMinify link ([#&#8203;13840](https://github.com/vitejs/vite/issues/13840)) ([8a2a3e1](https://github.com/vitejs/vite/commit/8a2a3e1)), closes [#&#8203;13840](https://github.com/vitejs/vite/issues/13840) ### [`v4.4.4`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small444-2023-07-14-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.4.3...v4.4.4) - chore: warning about ssr cjs format removal ([#&#8203;13827](https://github.com/vitejs/vite/issues/13827)) ([4646e9f](https://github.com/vitejs/vite/commit/4646e9f)), closes [#&#8203;13827](https://github.com/vitejs/vite/issues/13827) - fix(esbuild): enable experimentalDecorators by default ([#&#8203;13805](https://github.com/vitejs/vite/issues/13805)) ([e8880f0](https://github.com/vitejs/vite/commit/e8880f0)), closes [#&#8203;13805](https://github.com/vitejs/vite/issues/13805) - fix(scan): skip tsconfigRaw fallback if tsconfig is set ([#&#8203;13823](https://github.com/vitejs/vite/issues/13823)) ([b6155a1](https://github.com/vitejs/vite/commit/b6155a1)), closes [#&#8203;13823](https://github.com/vitejs/vite/issues/13823) - feat(client): close `vite-error-overlay` with Escape key ([#&#8203;13795](https://github.com/vitejs/vite/issues/13795)) ([85bdcda](https://github.com/vitejs/vite/commit/85bdcda)), closes [#&#8203;13795](https://github.com/vitejs/vite/issues/13795) ### [`v4.4.3`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small443-2023-07-11-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.4.2...v4.4.3) - fix: avoid early error when server is closed in ssr ([#&#8203;13787](https://github.com/vitejs/vite/issues/13787)) ([89d01eb](https://github.com/vitejs/vite/commit/89d01eb)), closes [#&#8203;13787](https://github.com/vitejs/vite/issues/13787) - fix(deps): update all non-major dependencies ([#&#8203;13758](https://github.com/vitejs/vite/issues/13758)) ([8ead116](https://github.com/vitejs/vite/commit/8ead116)), closes [#&#8203;13758](https://github.com/vitejs/vite/issues/13758) - fix(server): remove restart guard on restart ([#&#8203;13789](https://github.com/vitejs/vite/issues/13789)) ([2a38ef7](https://github.com/vitejs/vite/commit/2a38ef7)), closes [#&#8203;13789](https://github.com/vitejs/vite/issues/13789) ### [`v4.4.2`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small442-2023-07-07-small) [Compare Source](https://github.com/vitejs/vite/compare/487bdcde3399463ac68eb5ab5bc19e5096b4623b...v4.4.2) - fix(css): use single postcss instance ([#&#8203;13738](https://github.com/vitejs/vite/issues/13738)) ([c02fac4](https://github.com/vitejs/vite/commit/c02fac4)), closes [#&#8203;13738](https://github.com/vitejs/vite/issues/13738) ### [`v4.4.1`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small441-2023-07-06-small) [Compare Source](https://github.com/vitejs/vite/compare/3b47e34af89b8220c0aeb119f813e8315e98668e...487bdcde3399463ac68eb5ab5bc19e5096b4623b) - fix: revert [#&#8203;13073](https://github.com/vitejs/vite/issues/13073), use consistent virtual module ID in module graph ([#&#8203;13734](https://github.com/vitejs/vite/issues/13734)) ([f589ac0](https://github.com/vitejs/vite/commit/f589ac0)), closes [#&#8203;13073](https://github.com/vitejs/vite/issues/13073) [#&#8203;13734](https://github.com/vitejs/vite/issues/13734) - fix: revert import config module as data ([#&#8203;13731](https://github.com/vitejs/vite/issues/13731)) ([b0bfa01](https://github.com/vitejs/vite/commit/b0bfa01)), closes [#&#8203;13731](https://github.com/vitejs/vite/issues/13731) - chore: changelog notes and clean for 4.4 ([#&#8203;13728](https://github.com/vitejs/vite/issues/13728)) ([3f4e36e](https://github.com/vitejs/vite/commit/3f4e36e)), closes [#&#8203;13728](https://github.com/vitejs/vite/issues/13728) ### [`v4.4.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#440-2023-07-06) [Compare Source](https://github.com/vitejs/vite/compare/v4.3.9...3b47e34af89b8220c0aeb119f813e8315e98668e) ##### Experimental support for Lightning CSS Starting from Vite 4.4, there is experimental support for [Lightning CSS](https://lightningcss.dev/). You can opt into it by adding [`css.transformer: 'lightningcss'`](https://main.vitejs.dev/config/shared-options.html#css-transformer) to your config file and install the optional [`lightningcss`](https://www.npmjs.com/package/lightningcss) dev dependency. If enabled, CSS files will be processed by Lightning CSS instead of PostCSS. Lightning CSS can also be used as the CSS minifier with [`build.cssMinify: 'lightningcss'`](https://main.vitejs.dev/config/build-options.html#build-cssminify). See beta docs at the [Lighting CSS guide](https://main.vitejs.dev/guide/features.html#lightning-css). ##### esbuild 0.18 update [esbuild 0.18](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md#0180) contains backwards-incompatible changes to esbuild's handling of `tsconfig.json` files. We think they shouldn't affect Vite users, you can review [#&#8203;13525](https://github.com/vitejs/vite/issues/13525) for more information. ##### Templates for Solid and Qwik in create-vite New starter templates have been added to [create-vite](https://vitejs.dev/guide/#scaffolding-your-first-vite-project) for [Solid](https://www.solidjs.com/) and [Qwik](https://qwik.builder.io/). Try them online at [vite.new/solid-ts](https://vite.new/solid-ts) and [vite.new/qwik-ts](https://vite.new/qwik-ts). ##### Korean Translation Vite's docs are now translated to Korean, available at [ko.vitejs.dev](https://ko.vitejs.dev). ##### Features - feat: preview mode add keyboard shortcuts ([#&#8203;12968](https://github.com/vitejs/vite/issues/12968)) ([126e93e](https://github.com/vitejs/vite/commit/126e93e)), closes [#&#8203;12968](https://github.com/vitejs/vite/issues/12968) - feat: asset type add apng ([#&#8203;13294](https://github.com/vitejs/vite/issues/13294)) ([a11b6f6](https://github.com/vitejs/vite/commit/a11b6f6)), closes [#&#8203;13294](https://github.com/vitejs/vite/issues/13294) - feat: emit event to handle chunk load errors ([#&#8203;12084](https://github.com/vitejs/vite/issues/12084)) ([2eca54e](https://github.com/vitejs/vite/commit/2eca54e)), closes [#&#8203;12084](https://github.com/vitejs/vite/issues/12084) - feat: import public non-asset URL ([#&#8203;13422](https://github.com/vitejs/vite/issues/13422)) ([3a98558](https://github.com/vitejs/vite/commit/3a98558)), closes [#&#8203;13422](https://github.com/vitejs/vite/issues/13422) - feat: support files for `fs.allow` ([#&#8203;12863](https://github.com/vitejs/vite/issues/12863)) ([4a06e66](https://github.com/vitejs/vite/commit/4a06e66)), closes [#&#8203;12863](https://github.com/vitejs/vite/issues/12863) - feat(build): warn dynamic import module with a static import alongside ([#&#8203;12850](https://github.com/vitejs/vite/issues/12850)) ([127c334](https://github.com/vitejs/vite/commit/127c334)), closes [#&#8203;12850](https://github.com/vitejs/vite/issues/12850) - feat(client): add debounce on page reload ([#&#8203;13545](https://github.com/vitejs/vite/issues/13545)) ([d080b51](https://github.com/vitejs/vite/commit/d080b51)), closes [#&#8203;13545](https://github.com/vitejs/vite/issues/13545) - feat(client): add WebSocket connections events ([#&#8203;13334](https://github.com/vitejs/vite/issues/13334)) ([eb75103](https://github.com/vitejs/vite/commit/eb75103)), closes [#&#8203;13334](https://github.com/vitejs/vite/issues/13334) - feat(config): friendly ESM file require error ([#&#8203;13283](https://github.com/vitejs/vite/issues/13283)) ([b9a6ba0](https://github.com/vitejs/vite/commit/b9a6ba0)), closes [#&#8203;13283](https://github.com/vitejs/vite/issues/13283) - feat(css): add support for Lightning CSS ([#&#8203;12807](https://github.com/vitejs/vite/issues/12807)) ([c6c5d49](https://github.com/vitejs/vite/commit/c6c5d49)), closes [#&#8203;12807](https://github.com/vitejs/vite/issues/12807) - feat(css): support at import preprocessed styles ([#&#8203;8400](https://github.com/vitejs/vite/issues/8400)) ([2bd6077](https://github.com/vitejs/vite/commit/2bd6077)), closes [#&#8203;8400](https://github.com/vitejs/vite/issues/8400) - feat(html): support image set in inline style ([#&#8203;13473](https://github.com/vitejs/vite/issues/13473)) ([2c0faba](https://github.com/vitejs/vite/commit/2c0faba)), closes [#&#8203;13473](https://github.com/vitejs/vite/issues/13473) - feat(importMetaGlob): support sub imports pattern ([#&#8203;12467](https://github.com/vitejs/vite/issues/12467)) ([e355c9c](https://github.com/vitejs/vite/commit/e355c9c)), closes [#&#8203;12467](https://github.com/vitejs/vite/issues/12467) - feat(optimizer): support glob includes ([#&#8203;12414](https://github.com/vitejs/vite/issues/12414)) ([7792515](https://github.com/vitejs/vite/commit/7792515)), closes [#&#8203;12414](https://github.com/vitejs/vite/issues/12414) - feat!: update esbuild to 0.18.2 ([#&#8203;13525](https://github.com/vitejs/vite/issues/13525)) ([ab967c0](https://github.com/vitejs/vite/commit/ab967c0)), closes [#&#8203;13525](https://github.com/vitejs/vite/issues/13525) ##### Bug Fixes - fix: check document before detect script rel ([#&#8203;13559](https://github.com/vitejs/vite/issues/13559)) ([be4b0c0](https://github.com/vitejs/vite/commit/be4b0c0)), closes [#&#8203;13559](https://github.com/vitejs/vite/issues/13559) - fix(define): stringify object parse error in build mode ([#&#8203;13600](https://github.com/vitejs/vite/issues/13600)) ([71516db](https://github.com/vitejs/vite/commit/71516db)), closes [#&#8203;13600](https://github.com/vitejs/vite/issues/13600) - fix(deps): update all non-major dependencies ([#&#8203;13701](https://github.com/vitejs/vite/issues/13701)) ([02c6bc3](https://github.com/vitejs/vite/commit/02c6bc3)), closes [#&#8203;13701](https://github.com/vitejs/vite/issues/13701) - fix(esbuild): use `useDefineForClassFields: false` when no `compilerOptions.target` is declared ([#&#8203;13](https://github.com/vitejs/vite/issues/13) ([7ef2472](https://github.com/vitejs/vite/commit/7ef2472)), closes [#&#8203;13708](https://github.com/vitejs/vite/issues/13708) - fix(pluginContainer): drop previous sourcesContent ([#&#8203;13722](https://github.com/vitejs/vite/issues/13722)) ([9310b3a](https://github.com/vitejs/vite/commit/9310b3a)), closes [#&#8203;13722](https://github.com/vitejs/vite/issues/13722) - fix: lightningCSS should load external URL in CSS file ([#&#8203;13692](https://github.com/vitejs/vite/issues/13692)) ([8517645](https://github.com/vitejs/vite/commit/8517645)), closes [#&#8203;13692](https://github.com/vitejs/vite/issues/13692) - fix: shortcut open browser when set host ([#&#8203;13677](https://github.com/vitejs/vite/issues/13677)) ([6f1c55e](https://github.com/vitejs/vite/commit/6f1c55e)), closes [#&#8203;13677](https://github.com/vitejs/vite/issues/13677) - fix(cli): convert the sourcemap option to boolean (fix [#&#8203;13638](https://github.com/vitejs/vite/issues/13638)) ([#&#8203;13663](https://github.com/vitejs/vite/issues/13663)) ([d444bfe](https://github.com/vitejs/vite/commit/d444bfe)), closes [#&#8203;13638](https://github.com/vitejs/vite/issues/13638) [#&#8203;13663](https://github.com/vitejs/vite/issues/13663) - fix(css): use esbuild legalComments config when minifying CSS ([#&#8203;13661](https://github.com/vitejs/vite/issues/13661)) ([2d9008e](https://github.com/vitejs/vite/commit/2d9008e)), closes [#&#8203;13661](https://github.com/vitejs/vite/issues/13661) - fix(sourcemap): preserve original sourcesContent ([#&#8203;13662](https://github.com/vitejs/vite/issues/13662)) ([f6362b6](https://github.com/vitejs/vite/commit/f6362b6)), closes [#&#8203;13662](https://github.com/vitejs/vite/issues/13662) - fix(ssr): transform superclass identifier ([#&#8203;13635](https://github.com/vitejs/vite/issues/13635)) ([c5b2c8f](https://github.com/vitejs/vite/commit/c5b2c8f)), closes [#&#8203;13635](https://github.com/vitejs/vite/issues/13635) - fix: show error position ([#&#8203;13623](https://github.com/vitejs/vite/issues/13623)) ([90271a6](https://github.com/vitejs/vite/commit/90271a6)), closes [#&#8203;13623](https://github.com/vitejs/vite/issues/13623) - fix(hmr): only invalidate `lastHMRTimestamp` of importers if the invalidated module is not a HMR bou ([1143e0b](https://github.com/vitejs/vite/commit/1143e0b)), closes [#&#8203;13024](https://github.com/vitejs/vite/issues/13024) - fix(indexHtml): decode html URI ([#&#8203;13581](https://github.com/vitejs/vite/issues/13581)) ([f8868af](https://github.com/vitejs/vite/commit/f8868af)), closes [#&#8203;13581](https://github.com/vitejs/vite/issues/13581) - fix: avoid binding ClassExpression ([#&#8203;13572](https://github.com/vitejs/vite/issues/13572)) ([1a0c806](https://github.com/vitejs/vite/commit/1a0c806)), closes [#&#8203;13572](https://github.com/vitejs/vite/issues/13572) - fix: the shortcut fails to open browser when set the host ([#&#8203;13579](https://github.com/vitejs/vite/issues/13579)) ([e0a48c5](https://github.com/vitejs/vite/commit/e0a48c5)), closes [#&#8203;13579](https://github.com/vitejs/vite/issues/13579) - fix(proxy): forward SSE close event ([#&#8203;13578](https://github.com/vitejs/vite/issues/13578)) ([4afbccb](https://github.com/vitejs/vite/commit/4afbccb)), closes [#&#8203;13578](https://github.com/vitejs/vite/issues/13578) - fix: allow using vite as a proxy for another vite server ([#&#8203;13218](https://github.com/vitejs/vite/issues/13218)) ([711dd80](https://github.com/vitejs/vite/commit/711dd80)), closes [#&#8203;13218](https://github.com/vitejs/vite/issues/13218) - fix: await requests to before server restart ([#&#8203;13262](https://github.com/vitejs/vite/issues/13262)) ([0464398](https://github.com/vitejs/vite/commit/0464398)), closes [#&#8203;13262](https://github.com/vitejs/vite/issues/13262) - fix: esm detection with `export const { A, B }` pattern ([#&#8203;13483](https://github.com/vitejs/vite/issues/13483)) ([ea1bcc9](https://github.com/vitejs/vite/commit/ea1bcc9)), closes [#&#8203;13483](https://github.com/vitejs/vite/issues/13483) - fix: keep track of ssr version of imported modules separately ([#&#8203;11973](https://github.com/vitejs/vite/issues/11973)) ([8fe6952](https://github.com/vitejs/vite/commit/8fe6952)), closes [#&#8203;11973](https://github.com/vitejs/vite/issues/11973) - fix: make optimize error available to meta-framework ([#&#8203;13495](https://github.com/vitejs/vite/issues/13495)) ([b70e783](https://github.com/vitejs/vite/commit/b70e783)), closes [#&#8203;13495](https://github.com/vitejs/vite/issues/13495) - fix: only show the listened IP when host is specified ([#&#8203;13412](https://github.com/vitejs/vite/issues/13412)) ([20b0cae](https://github.com/vitejs/vite/commit/20b0cae)), closes [#&#8203;13412](https://github.com/vitejs/vite/issues/13412) - fix: race condition creation module in graph in transformRequest ([#&#8203;13085](https://github.com/vitejs/vite/issues/13085)) ([43cbbcf](https://github.com/vitejs/vite/commit/43cbbcf)), closes [#&#8203;13085](https://github.com/vitejs/vite/issues/13085) - fix: remove deprecated config.server.base ([#&#8203;13482](https://github.com/vitejs/vite/issues/13482)) ([dc597bd](https://github.com/vitejs/vite/commit/dc597bd)), closes [#&#8203;13482](https://github.com/vitejs/vite/issues/13482) - fix: remove extra path shorten when resolving from a dir ([#&#8203;13381](https://github.com/vitejs/vite/issues/13381)) ([5503198](https://github.com/vitejs/vite/commit/5503198)), closes [#&#8203;13381](https://github.com/vitejs/vite/issues/13381) - fix: show network URLs when `--host 0.0.0.0` ([#&#8203;13438](https://github.com/vitejs/vite/issues/13438)) ([00ee8c1](https://github.com/vitejs/vite/commit/00ee8c1)), closes [#&#8203;13438](https://github.com/vitejs/vite/issues/13438) - fix: timestamp config dynamicImport ([#&#8203;13502](https://github.com/vitejs/vite/issues/13502)) ([6a87c65](https://github.com/vitejs/vite/commit/6a87c65)), closes [#&#8203;13502](https://github.com/vitejs/vite/issues/13502) - fix: unexpected config temporary file ([#&#8203;13269](https://github.com/vitejs/vite/issues/13269)) ([ff3ce31](https://github.com/vitejs/vite/commit/ff3ce31)), closes [#&#8203;13269](https://github.com/vitejs/vite/issues/13269) - fix: use consistent virtual module ID in module graph ([#&#8203;13073](https://github.com/vitejs/vite/issues/13073)) ([aa1776f](https://github.com/vitejs/vite/commit/aa1776f)), closes [#&#8203;13073](https://github.com/vitejs/vite/issues/13073) - fix(build): make output warning message clearer ([#&#8203;12924](https://github.com/vitejs/vite/issues/12924)) ([54ab3c8](https://github.com/vitejs/vite/commit/54ab3c8)), closes [#&#8203;12924](https://github.com/vitejs/vite/issues/12924) - fix(debug): import performance from perf_hooks ([#&#8203;13464](https://github.com/vitejs/vite/issues/13464)) ([d458ccd](https://github.com/vitejs/vite/commit/d458ccd)), closes [#&#8203;13464](https://github.com/vitejs/vite/issues/13464) - fix(deps): update all non-major dependencies ([#&#8203;13059](https://github.com/vitejs/vite/issues/13059)) ([123ef4c](https://github.com/vitejs/vite/commit/123ef4c)), closes [#&#8203;13059](https://github.com/vitejs/vite/issues/13059) - fix(deps): update all non-major dependencies ([#&#8203;13488](https://github.com/vitejs/vite/issues/13488)) ([bd09248](https://github.com/vitejs/vite/commit/bd09248)), closes [#&#8203;13488](https://github.com/vitejs/vite/issues/13488) - fix(deps): update sirv to 2.0.3 ([#&#8203;13057](https://github.com/vitejs/vite/issues/13057)) ([d814d6c](https://github.com/vitejs/vite/commit/d814d6c)), closes [#&#8203;13057](https://github.com/vitejs/vite/issues/13057) - fix(mergeConfig): don't accept callback config ([#&#8203;13135](https://github.com/vitejs/vite/issues/13135)) ([998512b](https://github.com/vitejs/vite/commit/998512b)), closes [#&#8203;13135](https://github.com/vitejs/vite/issues/13135) - fix(optimizer): include exports for css modules ([#&#8203;13519](https://github.com/vitejs/vite/issues/13519)) ([1fd9919](https://github.com/vitejs/vite/commit/1fd9919)), closes [#&#8203;13519](https://github.com/vitejs/vite/issues/13519) - fix(resolve): always use `module` condition ([#&#8203;13370](https://github.com/vitejs/vite/issues/13370)) ([367920b](https://github.com/vitejs/vite/commit/367920b)), closes [#&#8203;13370](https://github.com/vitejs/vite/issues/13370) - fix(ssr): fix crash when a pnpm/Yarn workspace depends on a CJS package ([#&#8203;9763](https://github.com/vitejs/vite/issues/9763)) ([9e1086b](https://github.com/vitejs/vite/commit/9e1086b)), closes [#&#8203;9763](https://github.com/vitejs/vite/issues/9763) ##### Previous Changelogs ##### [4.4.0-beta.4](https://github.com/vitejs/vite/compare/v4.4.0-beta.3....v4.4.0-beta.4) (2023-07-03) See [4.4.0-beta.4 changelog](https://github.com/vitejs/vite/blob/v4.4.0-beta.4/packages/vite/CHANGELOG.md) ##### [4.4.0-beta.3](https://github.com/vitejs/vite/compare/v4.4.0-beta.2....v4.4.0-beta.3) (2023-06-25) See [4.4.0-beta.3 changelog](https://github.com/vitejs/vite/blob/v4.4.0-beta.3/packages/vite/CHANGELOG.md) ##### [4.4.0-beta.2](https://github.com/vitejs/vite/compare/v4.4.0-beta.1....v4.4.0-beta.2) (2023-06-22) See [4.4.0-beta.2 changelog](https://github.com/vitejs/vite/blob/v4.4.0-beta.2/packages/vite/CHANGELOG.md) ##### [4.4.0-beta.1](https://github.com/vitejs/vite/compare/v4.4.0-beta.0....v4.4.0-beta.1) (2023-06-21) See [4.4.0-beta.1 changelog](https://github.com/vitejs/vite/blob/v4.4.0-beta.1/packages/vite/CHANGELOG.md) ##### [4.4.0-beta.0](https://github.com/vitejs/vite/compare/v4.3.9....v4.4.0-beta.0) (2023-06-20) See [4.4.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v4.4.0-beta.0/packages/vite/CHANGELOG.md) ### [`v4.3.9`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small439-2023-05-26-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.3.8...v4.3.9) - fix: fs.deny with leading double slash ([#&#8203;13348](https://github.com/vitejs/vite/issues/13348)) ([813ddd6](https://github.com/vitejs/vite/commit/813ddd6)), closes [#&#8203;13348](https://github.com/vitejs/vite/issues/13348) - fix: optimizeDeps during build and external ids ([#&#8203;13274](https://github.com/vitejs/vite/issues/13274)) ([e3db771](https://github.com/vitejs/vite/commit/e3db771)), closes [#&#8203;13274](https://github.com/vitejs/vite/issues/13274) - fix(css): return deps if have no postcss plugins ([#&#8203;13344](https://github.com/vitejs/vite/issues/13344)) ([28923fb](https://github.com/vitejs/vite/commit/28923fb)), closes [#&#8203;13344](https://github.com/vitejs/vite/issues/13344) - fix(legacy): style insert order ([#&#8203;13266](https://github.com/vitejs/vite/issues/13266)) ([e444375](https://github.com/vitejs/vite/commit/e444375)), closes [#&#8203;13266](https://github.com/vitejs/vite/issues/13266) - chore: revert prev release commit ([2a30a07](https://github.com/vitejs/vite/commit/2a30a07)) - release: v4.3.9 ([5c9abf7](https://github.com/vitejs/vite/commit/5c9abf7)) - docs: optimizeDeps.needsInterop ([#&#8203;13323](https://github.com/vitejs/vite/issues/13323)) ([b34e79c](https://github.com/vitejs/vite/commit/b34e79c)), closes [#&#8203;13323](https://github.com/vitejs/vite/issues/13323) - test: respect commonjs options in playgrounds ([#&#8203;13273](https://github.com/vitejs/vite/issues/13273)) ([19e8c68](https://github.com/vitejs/vite/commit/19e8c68)), closes [#&#8203;13273](https://github.com/vitejs/vite/issues/13273) - refactor: simplify SSR options' if statement ([#&#8203;13254](https://github.com/vitejs/vite/issues/13254)) ([8013a66](https://github.com/vitejs/vite/commit/8013a66)), closes [#&#8203;13254](https://github.com/vitejs/vite/issues/13254) - perf(ssr): calculate stacktrace offset lazily ([#&#8203;13256](https://github.com/vitejs/vite/issues/13256)) ([906c4c1](https://github.com/vitejs/vite/commit/906c4c1)), closes [#&#8203;13256](https://github.com/vitejs/vite/issues/13256) ### [`v4.3.8`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small438-2023-05-18-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.3.7...v4.3.8) - fix: avoid outdated module to crash in importAnalysis after restart ([#&#8203;13231](https://github.com/vitejs/vite/issues/13231)) ([3609e79](https://github.com/vitejs/vite/commit/3609e79)), closes [#&#8203;13231](https://github.com/vitejs/vite/issues/13231) - fix(ssr): skip updateCjsSsrExternals if legacy flag disabled ([#&#8203;13230](https://github.com/vitejs/vite/issues/13230)) ([13fc345](https://github.com/vitejs/vite/commit/13fc345)), closes [#&#8203;13230](https://github.com/vitejs/vite/issues/13230) ### [`v4.3.7`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small437-2023-05-16-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.3.6...v4.3.7) - fix: revert only watch .env files in envDir ([#&#8203;12587](https://github.com/vitejs/vite/issues/12587)) ([#&#8203;13217](https://github.com/vitejs/vite/issues/13217)) ([0fd4616](https://github.com/vitejs/vite/commit/0fd4616)), closes [#&#8203;12587](https://github.com/vitejs/vite/issues/12587) [#&#8203;13217](https://github.com/vitejs/vite/issues/13217) - fix(assetImportMetaUrl): allow ternary operator in template literal urls ([#&#8203;13121](https://github.com/vitejs/vite/issues/13121)) ([d5d9a31](https://github.com/vitejs/vite/commit/d5d9a31)), closes [#&#8203;13121](https://github.com/vitejs/vite/issues/13121) ### [`v4.3.6`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small436-2023-05-15-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.3.5...v4.3.6) - fix: avoid dev-server crash when ws proxy error ([#&#8203;12829](https://github.com/vitejs/vite/issues/12829)) ([87e1f58](https://github.com/vitejs/vite/commit/87e1f58)), closes [#&#8203;12829](https://github.com/vitejs/vite/issues/12829) - fix: call `tryFsResolve` for relative `new URL(foo, import.meta.url)` ([#&#8203;13142](https://github.com/vitejs/vite/issues/13142)) ([eeb0617](https://github.com/vitejs/vite/commit/eeb0617)), closes [#&#8203;13142](https://github.com/vitejs/vite/issues/13142) - fix: don't inject CSS sourcemap for direct requests ([#&#8203;13115](https://github.com/vitejs/vite/issues/13115)) ([7d80a47](https://github.com/vitejs/vite/commit/7d80a47)), closes [#&#8203;13115](https://github.com/vitejs/vite/issues/13115) - fix: handle more yarn pnp load errors ([#&#8203;13160](https://github.com/vitejs/vite/issues/13160)) ([adf61d9](https://github.com/vitejs/vite/commit/adf61d9)), closes [#&#8203;13160](https://github.com/vitejs/vite/issues/13160) - fix(build): declare moduleSideEffects for vite:modulepreload-polyfill ([#&#8203;13099](https://github.com/vitejs/vite/issues/13099)) ([d63129b](https://github.com/vitejs/vite/commit/d63129b)), closes [#&#8203;13099](https://github.com/vitejs/vite/issues/13099) - fix(css): respect `esbuild.charset` when minify ([#&#8203;13190](https://github.com/vitejs/vite/issues/13190)) ([4fd35ed](https://github.com/vitejs/vite/commit/4fd35ed)), closes [#&#8203;13190](https://github.com/vitejs/vite/issues/13190) - fix(server): intercept ping requests ([#&#8203;13117](https://github.com/vitejs/vite/issues/13117)) ([d06cc42](https://github.com/vitejs/vite/commit/d06cc42)), closes [#&#8203;13117](https://github.com/vitejs/vite/issues/13117) - fix(ssr): stacktrace uses abs path with or without sourcemap ([#&#8203;12902](https://github.com/vitejs/vite/issues/12902)) ([88c855e](https://github.com/vitejs/vite/commit/88c855e)), closes [#&#8203;12902](https://github.com/vitejs/vite/issues/12902) - perf: skip windows absolute paths for node resolve ([#&#8203;13162](https://github.com/vitejs/vite/issues/13162)) ([e640939](https://github.com/vitejs/vite/commit/e640939)), closes [#&#8203;13162](https://github.com/vitejs/vite/issues/13162) - chore: remove useless dep ([#&#8203;13165](https://github.com/vitejs/vite/issues/13165)) ([9a7ec98](https://github.com/vitejs/vite/commit/9a7ec98)), closes [#&#8203;13165](https://github.com/vitejs/vite/issues/13165) - chore(reporter): reuse clearLine ([#&#8203;13156](https://github.com/vitejs/vite/issues/13156)) ([535795a](https://github.com/vitejs/vite/commit/535795a)), closes [#&#8203;13156](https://github.com/vitejs/vite/issues/13156) ### [`v4.3.5`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small435-2023-05-05-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.3.4...v4.3.5) - fix: location is not defined error in cleanScssBugUrl ([#&#8203;13100](https://github.com/vitejs/vite/issues/13100)) ([91d7b67](https://github.com/vitejs/vite/commit/91d7b67)), closes [#&#8203;13100](https://github.com/vitejs/vite/issues/13100) - fix: unwrapId and pass ssr flag when adding to moduleGraph in this.load ([#&#8203;13083](https://github.com/vitejs/vite/issues/13083)) ([9041e19](https://github.com/vitejs/vite/commit/9041e19)), closes [#&#8203;13083](https://github.com/vitejs/vite/issues/13083) - fix(assetImportMetaUrl): reserve dynamic template literal query params ([#&#8203;13034](https://github.com/vitejs/vite/issues/13034)) ([7089528](https://github.com/vitejs/vite/commit/7089528)), closes [#&#8203;13034](https://github.com/vitejs/vite/issues/13034) - fix(debug): skip filter object args ([#&#8203;13098](https://github.com/vitejs/vite/issues/13098)) ([d95a9af](https://github.com/vitejs/vite/commit/d95a9af)), closes [#&#8203;13098](https://github.com/vitejs/vite/issues/13098) - fix(scan): handle html script tag attributes that contain ">" ([#&#8203;13101](https://github.com/vitejs/vite/issues/13101)) ([8a37de6](https://github.com/vitejs/vite/commit/8a37de6)), closes [#&#8203;13101](https://github.com/vitejs/vite/issues/13101) - fix(ssr): ignore \__esModule for ssrExportAll ([#&#8203;13084](https://github.com/vitejs/vite/issues/13084)) ([8a8ea1d](https://github.com/vitejs/vite/commit/8a8ea1d)), closes [#&#8203;13084](https://github.com/vitejs/vite/issues/13084) ### [`v4.3.4`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small434-2023-05-02-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.3.3...v4.3.4) - fix(define): incorrect raw expression value type in build ([#&#8203;13003](https://github.com/vitejs/vite/issues/13003)) ([8f4cf07](https://github.com/vitejs/vite/commit/8f4cf07)), closes [#&#8203;13003](https://github.com/vitejs/vite/issues/13003) - fix(importAnalysisBuild): support parsing '**VITE_PRELOAD**' ([#&#8203;13023](https://github.com/vitejs/vite/issues/13023)) ([447df7c](https://github.com/vitejs/vite/commit/447df7c)), closes [#&#8203;13023](https://github.com/vitejs/vite/issues/13023) - fix(server): should respect hmr port when middlewareMode=false ([#&#8203;13040](https://github.com/vitejs/vite/issues/13040)) ([1ee0014](https://github.com/vitejs/vite/commit/1ee0014)), closes [#&#8203;13040](https://github.com/vitejs/vite/issues/13040) - fix(ssr): track for statements as block scope ([#&#8203;13021](https://github.com/vitejs/vite/issues/13021)) ([2f8502f](https://github.com/vitejs/vite/commit/2f8502f)), closes [#&#8203;13021](https://github.com/vitejs/vite/issues/13021) - chore: add changelog for vite 4.2.2 and 3.2.6 ([#&#8203;13055](https://github.com/vitejs/vite/issues/13055)) ([0c9f1f4](https://github.com/vitejs/vite/commit/0c9f1f4)), closes [#&#8203;13055](https://github.com/vitejs/vite/issues/13055) ### [`v4.3.3`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small433-2023-04-26-small) [Compare Source](https://github.com/vitejs/vite/compare/1bc42cfb2abb2912a613f8f1d9de3d4348b41144...v4.3.3) - fix: address file path mismatch when loading Vite config file on Windows (fix [#&#8203;12923](https://github.com/vitejs/vite/issues/12923)) ([#&#8203;13005](https://github.com/vitejs/vite/issues/13005)) ([84c4118](https://github.com/vitejs/vite/commit/84c4118)), closes [#&#8203;12923](https://github.com/vitejs/vite/issues/12923) [#&#8203;13005](https://github.com/vitejs/vite/issues/13005) - fix: undefined document in worker ([#&#8203;12988](https://github.com/vitejs/vite/issues/12988)) ([08c1452](https://github.com/vitejs/vite/commit/08c1452)), closes [#&#8203;12988](https://github.com/vitejs/vite/issues/12988) - fix(resolve): deep import resolvedId error ([#&#8203;13010](https://github.com/vitejs/vite/issues/13010)) ([30a41ff](https://github.com/vitejs/vite/commit/30a41ff)), closes [#&#8203;13010](https://github.com/vitejs/vite/issues/13010) - feat: optimize deps option to turn off auto discovery ([#&#8203;13000](https://github.com/vitejs/vite/issues/13000)) ([bd86375](https://github.com/vitejs/vite/commit/bd86375)), closes [#&#8203;13000](https://github.com/vitejs/vite/issues/13000) - chore(deps): update all non-major dependencies ([#&#8203;12805](https://github.com/vitejs/vite/issues/12805)) ([5731ac9](https://github.com/vitejs/vite/commit/5731ac9)), closes [#&#8203;12805](https://github.com/vitejs/vite/issues/12805) ### [`v4.3.2`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small432-2023-04-25-small) [Compare Source](https://github.com/vitejs/vite/compare/2a8779c5779ddcf1dd726be39c4547b4851b45cf...1bc42cfb2abb2912a613f8f1d9de3d4348b41144) - fix: status optional in windows network drive regex (fix: [#&#8203;12948](https://github.com/vitejs/vite/issues/12948)) ([#&#8203;12949](https://github.com/vitejs/vite/issues/12949)) ([f781fc6](https://github.com/vitejs/vite/commit/f781fc6)), closes [#&#8203;12948](https://github.com/vitejs/vite/issues/12948) [#&#8203;12949](https://github.com/vitejs/vite/issues/12949) - fix: use realpathSync for node <16.18 on windows ([#&#8203;12971](https://github.com/vitejs/vite/issues/12971)) ([965839c](https://github.com/vitejs/vite/commit/965839c)), closes [#&#8203;12971](https://github.com/vitejs/vite/issues/12971) - fix(ssr): hoist statements after hashbang ([#&#8203;12985](https://github.com/vitejs/vite/issues/12985)) ([07bd6d1](https://github.com/vitejs/vite/commit/07bd6d1)), closes [#&#8203;12985](https://github.com/vitejs/vite/issues/12985) - chore: build time message setting color ([#&#8203;12940](https://github.com/vitejs/vite/issues/12940)) ([ada7cd5](https://github.com/vitejs/vite/commit/ada7cd5)), closes [#&#8203;12940](https://github.com/vitejs/vite/issues/12940) - chore: remove extra ) in changelog ([#&#8203;12932](https://github.com/vitejs/vite/issues/12932)) ([e7924d2](https://github.com/vitejs/vite/commit/e7924d2)), closes [#&#8203;12932](https://github.com/vitejs/vite/issues/12932) - chore: upgrade rollup ([#&#8203;12965](https://github.com/vitejs/vite/issues/12965)) ([bdb2f25](https://github.com/vitejs/vite/commit/bdb2f25)), closes [#&#8203;12965](https://github.com/vitejs/vite/issues/12965) - refactor: resolveExports ([#&#8203;10917](https://github.com/vitejs/vite/issues/10917)) ([ad21ec3](https://github.com/vitejs/vite/commit/ad21ec3)), closes [#&#8203;10917](https://github.com/vitejs/vite/issues/10917) ### [`v4.3.1`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small431-2023-04-20-small) [Compare Source](https://github.com/vitejs/vite/compare/d6468a3b1fa11f066a0f38515874f71da7b9640e...2a8779c5779ddcf1dd726be39c4547b4851b45cf) - fix: revert ensure module in graph before transforming ([#&#8203;12774](https://github.com/vitejs/vite/issues/12774)) ([#&#8203;12929](https://github.com/vitejs/vite/issues/12929)) ([9cc93a5](https://github.com/vitejs/vite/commit/9cc93a5)), closes [#&#8203;12774](https://github.com/vitejs/vite/issues/12774) [#&#8203;12929](https://github.com/vitejs/vite/issues/12929) - docs: 4.3 announcement and release notes ([#&#8203;12925](https://github.com/vitejs/vite/issues/12925)) ([f29c582](https://github.com/vitejs/vite/commit/f29c582)), closes [#&#8203;12925](https://github.com/vitejs/vite/issues/12925) - chore: clean up 4.3 changelog ([55ec023](https://github.com/vitejs/vite/commit/55ec023)) ### [`v4.3.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#430-2023-04-20) [Compare Source](https://github.com/vitejs/vite/compare/v4.2.3...d6468a3b1fa11f066a0f38515874f71da7b9640e) Vite 4.3 is out! Read the [announcement blog post here](https://vitejs.dev/blog/announcing-vite4-3) [![Vite 4.3, It's Fast](https://vitejs.dev/og-image-announcing-vite4-3.png)](https://vitejs.dev/blog/announcing-vite4-3) In this minor, we focused on improving the dev server performance. The resolve logic got streamlined, improving hot paths and implementing smarter caching for finding `package.json`, TS config files, and resolved URL in general. You can read a detailed walkthrough of the performance work done in this blog post by one of Vite Contributors: [How we made Vite 4.3 faaaaster 🚀](https://sun0day.github.io/blog/vite/why-vite4\_3-is-faster.html). This sprint resulted in speed improvements across the board compared to Vite 4.2. These are the performance improvements as measured by [sapphi-red/performance-compare](https://github.com/sapphi-red/performance-compare), which tests an app with 1000 React Components cold and warm dev server startup time as well as HMR times for a root and a leaf component: | **Vite (babel)** | Vite 4.2 | Vite 4.3 | Improvement | | :----------------- | --------: | -------: | -----------: | | **dev cold start** | 17249.0ms | 5132.4ms | -70.2% | | **dev warm start** | 6027.8ms | 4536.1ms | -24.7% | | **Root HMR** | 46.8ms | 26.7ms | -42.9% | | **Leaf HMR** | 27.0ms | 12.9ms | -52.2% | | **Vite (swc)** | Vite 4.2 | Vite 4.3 | Improvement | | :----------------- | --------: | -------: | -----------: | | **dev cold start** | 13552.5ms | 3201.0ms | -76.4% | | **dev warm start** | 4625.5ms | 2834.4ms | -38.7% | | **Root HMR** | 30.5ms | 24.0ms | -21.3% | | **Leaf HMR** | 16.9ms | 10.0ms | -40.8% | You can read more information about the benchmark [here](https://gist.github.com/sapphi-red/25be97327ee64a3c1dce793444afdf6e) ##### Features - feat: expose `isFileServingAllowed` as public utility ([#&#8203;12894](https://github.com/vitejs/vite/issues/12894)) ([93e095c](https://github.com/vitejs/vite/commit/93e095c)), closes [#&#8203;12894](https://github.com/vitejs/vite/issues/12894) - feat: reuse existing style elements in dev ([#&#8203;12678](https://github.com/vitejs/vite/issues/12678)) ([3a41bd8](https://github.com/vitejs/vite/commit/3a41bd8)), closes [#&#8203;12678](https://github.com/vitejs/vite/issues/12678) - feat: skip pinging the server when the tab is not shown ([#&#8203;12698](https://github.com/vitejs/vite/issues/12698)) ([bedcd8f](https://github.com/vitejs/vite/commit/bedcd8f)), closes [#&#8203;12698](https://github.com/vitejs/vite/issues/12698) - feat(create-vite): use typescript 5.0 in templates ([#&#8203;12481](https://github.com/vitejs/vite/issues/12481)) ([8582e2d](https://github.com/vitejs/vite/commit/8582e2d)), closes [#&#8203;12481](https://github.com/vitejs/vite/issues/12481) - feat: use preview server parameter in preview server hook ([#&#8203;11647](https://github.com/vitejs/vite/issues/11647)) ([4c142ea](https://github.com/vitejs/vite/commit/4c142ea)), closes [#&#8203;11647](https://github.com/vitejs/vite/issues/11647) - feat(reporter): show gzip info for all compressible files (fix [#&#8203;11288](https://github.com/vitejs/vite/issues/11288)) ([#&#8203;12485](https://github.com/vitejs/vite/issues/12485)) ([03502c8](https://github.com/vitejs/vite/commit/03502c8)), closes [#&#8203;11288](https://github.com/vitejs/vite/issues/11288) [#&#8203;12485](https://github.com/vitejs/vite/issues/12485) - feat(server): allow to import `data:` uris ([#&#8203;12645](https://github.com/vitejs/vite/issues/12645)) ([4886d9f](https://github.com/vitejs/vite/commit/4886d9f)), closes [#&#8203;12645](https://github.com/vitejs/vite/issues/12645) - feat: add opus filetype to assets & mime types ([#&#8203;12526](https://github.com/vitejs/vite/issues/12526)) ([63524ba](https://github.com/vitejs/vite/commit/63524ba)), closes [#&#8203;12526](https://github.com/vitejs/vite/issues/12526) ##### Performance - perf: parallelize await exportsData from depsInfo ([#&#8203;12869](https://github.com/vitejs/vite/issues/12869)) ([ab3a530](https://github.com/vitejs/vite/commit/ab3a530)), closes [#&#8203;12869](https://github.com/vitejs/vite/issues/12869) - perf: avoid side effects resolving in dev and in the optimizer/scanner ([#&#8203;12789](https://github.com/vitejs/vite/issues/12789)) ([fb904f9](https://github.com/vitejs/vite/commit/fb904f9)), closes [#&#8203;12789](https://github.com/vitejs/vite/issues/12789) - perf: parallelize imports processing in import analysis plugin ([#&#8203;12754](https://github.com/vitejs/vite/issues/12754)) ([037a6c7](https://github.com/vitejs/vite/commit/037a6c7)), closes [#&#8203;12754](https://github.com/vitejs/vite/issues/12754) - perf: unresolvedUrlToModule promise cache ([#&#8203;12725](https://github.com/vitejs/vite/issues/12725)) ([80c526e](https://github.com/vitejs/vite/commit/80c526e)), closes [#&#8203;12725](https://github.com/vitejs/vite/issues/12725) - perf(resolve): avoid tryFsResolve for /@&#8203;fs/ paths ([#&#8203;12450](https://github.com/vitejs/vite/issues/12450)) ([3ef8aaa](https://github.com/vitejs/vite/commit/3ef8aaa)), closes [#&#8203;12450](https://github.com/vitejs/vite/issues/12450) - perf(resolve): reduce vite client path checks ([#&#8203;12471](https://github.com/vitejs/vite/issues/12471)) ([c49af23](https://github.com/vitejs/vite/commit/c49af23)), closes [#&#8203;12471](https://github.com/vitejs/vite/issues/12471) - perf: avoid new URL() in hot path ([#&#8203;12654](https://github.com/vitejs/vite/issues/12654)) ([f4e2fdf](https://github.com/vitejs/vite/commit/f4e2fdf)), closes [#&#8203;12654](https://github.com/vitejs/vite/issues/12654) - perf: improve isFileReadable performance ([#&#8203;12397](https://github.com/vitejs/vite/issues/12397)) ([acf3a14](https://github.com/vitejs/vite/commit/acf3a14)), closes [#&#8203;12397](https://github.com/vitejs/vite/issues/12397) - perf: module graph url shortcuts ([#&#8203;12635](https://github.com/vitejs/vite/issues/12635)) ([c268cfa](https://github.com/vitejs/vite/commit/c268cfa)), closes [#&#8203;12635](https://github.com/vitejs/vite/issues/12635) - perf: reduce runOptimizerIfIdleAfterMs time ([#&#8203;12614](https://github.com/vitejs/vite/issues/12614)) ([d026a65](https://github.com/vitejs/vite/commit/d026a65)), closes [#&#8203;12614](https://github.com/vitejs/vite/issues/12614) - perf: shorcircuit resolve in ensure entry from url ([#&#8203;12655](https://github.com/vitejs/vite/issues/12655)) ([82137d6](https://github.com/vitejs/vite/commit/82137d6)), closes [#&#8203;12655](https://github.com/vitejs/vite/issues/12655) - perf: skip es-module-lexer if have no dynamic imports ([#&#8203;12732](https://github.com/vitejs/vite/issues/12732)) ([5d07d7c](https://github.com/vitejs/vite/commit/5d07d7c)), closes [#&#8203;12732](https://github.com/vitejs/vite/issues/12732) - perf: start preprocessing static imports before updating module graph ([#&#8203;12723](https://github.com/vitejs/vite/issues/12723)) ([c90b46e](https://github.com/vitejs/vite/commit/c90b46e)), closes [#&#8203;12723](https://github.com/vitejs/vite/issues/12723) - perf: use package cache for one off resolve ([#&#8203;12744](https://github.com/vitejs/vite/issues/12744)) ([77bf4ef](https://github.com/vitejs/vite/commit/77bf4ef)), closes [#&#8203;12744](https://github.com/vitejs/vite/issues/12744) - perf(css): cache lazy import ([#&#8203;12721](https://github.com/vitejs/vite/issues/12721)) ([fedb080](https://github.com/vitejs/vite/commit/fedb080)), closes [#&#8203;12721](https://github.com/vitejs/vite/issues/12721) - perf(hmr): keep track of already traversed modules when propagating update ([#&#8203;12658](https://github.com/vitejs/vite/issues/12658)) ([3b912fb](https://github.com/vitejs/vite/commit/3b912fb)), closes [#&#8203;12658](https://github.com/vitejs/vite/issues/12658) - perf(moduleGraph): resolve dep urls in parallel ([#&#8203;12619](https://github.com/vitejs/vite/issues/12619)) ([4823fec](https://github.com/vitejs/vite/commit/4823fec)), closes [#&#8203;12619](https://github.com/vitejs/vite/issues/12619) - perf(resolve): skip for virtual files ([#&#8203;12638](https://github.com/vitejs/vite/issues/12638)) ([9e13f5f](https://github.com/vitejs/vite/commit/9e13f5f)), closes [#&#8203;12638](https://github.com/vitejs/vite/issues/12638) - perf: avoid fsp.unlink if we don't use the promise ([#&#8203;12589](https://github.com/vitejs/vite/issues/12589)) ([19d1980](https://github.com/vitejs/vite/commit/19d1980)), closes [#&#8203;12589](https://github.com/vitejs/vite/issues/12589) - perf: back to temporal optimizer dirs ([#&#8203;12622](https://github.com/vitejs/vite/issues/12622)) ([8da0422](https://github.com/vitejs/vite/commit/8da0422)), closes [#&#8203;12622](https://github.com/vitejs/vite/issues/12622) - perf: cache `depsCacheDirPrefix` value for `isOptimizedDepFile` ([#&#8203;12601](https://github.com/vitejs/vite/issues/12601)) ([edbd262](https://github.com/vitejs/vite/commit/edbd262)), closes [#&#8203;12601](https://github.com/vitejs/vite/issues/12601) - perf: improve cleanUrl util ([#&#8203;12573](https://github.com/vitejs/vite/issues/12573)) ([68d500e](https://github.com/vitejs/vite/commit/68d500e)), closes [#&#8203;12573](https://github.com/vitejs/vite/issues/12573) - perf: non-blocking write of optimized dep files ([#&#8203;12603](https://github.com/vitejs/vite/issues/12603)) ([2f5f968](https://github.com/vitejs/vite/commit/2f5f968)), closes [#&#8203;12603](https://github.com/vitejs/vite/issues/12603) - perf: try using realpathSync.native in Windows ([#&#8203;12580](https://github.com/vitejs/vite/issues/12580)) ([1cc99f8](https://github.com/vitejs/vite/commit/1cc99f8)), closes [#&#8203;12580](https://github.com/vitejs/vite/issues/12580) - perf: use fsp in more cases ([#&#8203;12553](https://github.com/vitejs/vite/issues/12553)) ([e9b92f5](https://github.com/vitejs/vite/commit/e9b92f5)), closes [#&#8203;12553](https://github.com/vitejs/vite/issues/12553) - perf(html): apply preTransformRequest for html scripts ([#&#8203;12599](https://github.com/vitejs/vite/issues/12599)) ([420782c](https://github.com/vitejs/vite/commit/420782c)), closes [#&#8203;12599](https://github.com/vitejs/vite/issues/12599) - perf(optimizer): bulk optimizer delay ([#&#8203;12609](https://github.com/vitejs/vite/issues/12609)) ([c881971](https://github.com/vitejs/vite/commit/c881971)), closes [#&#8203;12609](https://github.com/vitejs/vite/issues/12609) - perf(optimizer): start optimizer early ([#&#8203;12593](https://github.com/vitejs/vite/issues/12593)) ([4f9b8b4](https://github.com/vitejs/vite/commit/4f9b8b4)), closes [#&#8203;12593](https://github.com/vitejs/vite/issues/12593) - perf(resolve): avoid isWorkerRequest and clean up .ts imported a .js ([#&#8203;12571](https://github.com/vitejs/vite/issues/12571)) ([8ab1438](https://github.com/vitejs/vite/commit/8ab1438)), closes [#&#8203;12571](https://github.com/vitejs/vite/issues/12571) - perf(resolve): findNearestMainPackageData instead of lookupFile ([#&#8203;12576](https://github.com/vitejs/vite/issues/12576)) ([54b376f](https://github.com/vitejs/vite/commit/54b376f)), closes [#&#8203;12576](https://github.com/vitejs/vite/issues/12576) - perf(server): only watch .env files in envDir ([#&#8203;12587](https://github.com/vitejs/vite/issues/12587)) ([26d8e72](https://github.com/vitejs/vite/commit/26d8e72)), closes [#&#8203;12587](https://github.com/vitejs/vite/issues/12587) - perf: avoid execSync on openBrowser ([#&#8203;12510](https://github.com/vitejs/vite/issues/12510)) ([a2af2f0](https://github.com/vitejs/vite/commit/a2af2f0)), closes [#&#8203;12510](https://github.com/vitejs/vite/issues/12510) - perf: extract regex and use Map in data-uri plugin ([#&#8203;12500](https://github.com/vitejs/vite/issues/12500)) ([137e63d](https://github.com/vitejs/vite/commit/137e63d)), closes [#&#8203;12500](https://github.com/vitejs/vite/issues/12500) - perf: extract vite:resolve internal functions ([#&#8203;12522](https://github.com/vitejs/vite/issues/12522)) ([6ea4be2](https://github.com/vitejs/vite/commit/6ea4be2)), closes [#&#8203;12522](https://github.com/vitejs/vite/issues/12522) - perf: improve package cache usage ([#&#8203;12512](https://github.com/vitejs/vite/issues/12512)) ([abc2b9c](https://github.com/vitejs/vite/commit/abc2b9c)), closes [#&#8203;12512](https://github.com/vitejs/vite/issues/12512) - perf: more regex improvements ([#&#8203;12520](https://github.com/vitejs/vite/issues/12520)) ([abf536f](https://github.com/vitejs/vite/commit/abf536f)), closes [#&#8203;12520](https://github.com/vitejs/vite/issues/12520) - perf: regex to startsWith/slice in utils ([#&#8203;12532](https://github.com/vitejs/vite/issues/12532)) ([debc6e2](https://github.com/vitejs/vite/commit/debc6e2)), closes [#&#8203;12532](https://github.com/vitejs/vite/issues/12532) - perf: remove regex in ImportMetaURL plugins ([#&#8203;12502](https://github.com/vitejs/vite/issues/12502)) ([1030049](https://github.com/vitejs/vite/commit/1030049)), closes [#&#8203;12502](https://github.com/vitejs/vite/issues/12502) - perf: replace endsWith with === ([#&#8203;12539](https://github.com/vitejs/vite/issues/12539)) ([7eb52ec](https://github.com/vitejs/vite/commit/7eb52ec)), closes [#&#8203;12539](https://github.com/vitejs/vite/issues/12539) - perf: replace startsWith with === ([#&#8203;12531](https://github.com/vitejs/vite/issues/12531)) ([9cce026](https://github.com/vitejs/vite/commit/9cce026)), closes [#&#8203;12531](https://github.com/vitejs/vite/issues/12531) - perf: reuse regex in plugins ([#&#8203;12518](https://github.com/vitejs/vite/issues/12518)) ([da43936](https://github.com/vitejs/vite/commit/da43936)), closes [#&#8203;12518](https://github.com/vitejs/vite/issues/12518) - perf: use `safeRealpath` in `getRealpath` ([#&#8203;12551](https://github.com/vitejs/vite/issues/12551)) ([cec2320](https://github.com/vitejs/vite/commit/cec2320)), closes [#&#8203;12551](https://github.com/vitejs/vite/issues/12551) - perf(css): improve postcss config resolve ([#&#8203;12484](https://github.com/vitejs/vite/issues/12484)) ([58e99b6](https://github.com/vitejs/vite/commit/58e99b6)), closes [#&#8203;12484](https://github.com/vitejs/vite/issues/12484) - perf(esbuild): make tsconfck non-blocking ([#&#8203;12548](https://github.com/vitejs/vite/issues/12548)) ([e5cdff7](https://github.com/vitejs/vite/commit/e5cdff7)), closes [#&#8203;12548](https://github.com/vitejs/vite/issues/12548) - perf(esbuild): update tsconfck to consume faster find-all implementation ([#&#8203;12541](https://github.com/vitejs/vite/issues/12541)) ([b6ea25a](https://github.com/vitejs/vite/commit/b6ea25a)), closes [#&#8203;12541](https://github.com/vitejs/vite/issues/12541) - perf(resolve): fix browser mapping nearest package.json check ([#&#8203;12550](https://github.com/vitejs/vite/issues/12550)) ([eac376e](https://github.com/vitejs/vite/commit/eac376e)), closes [#&#8203;12550](https://github.com/vitejs/vite/issues/12550) - perf(resolve): improve package.json resolve speed ([#&#8203;12441](https://github.com/vitejs/vite/issues/12441)) ([1fc8c65](https://github.com/vitejs/vite/commit/1fc8c65)), closes [#&#8203;12441](https://github.com/vitejs/vite/issues/12441) - perf(resolve): refactor package.json handling for deep imports ([#&#8203;12461](https://github.com/vitejs/vite/issues/12461)) ([596b661](https://github.com/vitejs/vite/commit/596b661)), closes [#&#8203;12461](https://github.com/vitejs/vite/issues/12461) - perf(resolve): refactor tryFsResolve and tryResolveFile ([#&#8203;12542](https://github.com/vitejs/vite/issues/12542)) ([3f70f47](https://github.com/vitejs/vite/commit/3f70f47)) - perf(resolve): skip absolute paths in root as url checks ([#&#8203;12476](https://github.com/vitejs/vite/issues/12476)) ([8d2931b](https://github.com/vitejs/vite/commit/8d2931b)), closes [#&#8203;12476](https://github.com/vitejs/vite/issues/12476) - perf(resolve): support # in path only for dependencies ([#&#8203;12469](https://github.com/vitejs/vite/issues/12469)) ([6559fc7](https://github.com/vitejs/vite/commit/6559fc7)), closes [#&#8203;12469](https://github.com/vitejs/vite/issues/12469) ##### Bug Fixes - fix(build): do not repeatedly output warning message ([#&#8203;12910](https://github.com/vitejs/vite/issues/12910)) ([251d0ab](https://github.com/vitejs/vite/commit/251d0ab)), closes [#&#8203;12910](https://github.com/vitejs/vite/issues/12910) - fix: escape msg in render restricted error html ([#&#8203;12889](https://github.com/vitejs/vite/issues/12889)) ([3aa2127](https://github.com/vitejs/vite/commit/3aa2127)), closes [#&#8203;12889](https://github.com/vitejs/vite/issues/12889) - fix: yarn pnp considerBuiltins ([#&#8203;12903](https://github.com/vitejs/vite/issues/12903)) ([a0e10d5](https://github.com/vitejs/vite/commit/a0e10d5)), closes [#&#8203;12903](https://github.com/vitejs/vite/issues/12903) - fix: broken middleware name ([#&#8203;12871](https://github.com/vitejs/vite/issues/12871)) ([32bef57](https://github.com/vitejs/vite/commit/32bef57)), closes [#&#8203;12871](https://github.com/vitejs/vite/issues/12871) - fix: cleanUpStaleCacheDirs once per process ([#&#8203;12847](https://github.com/vitejs/vite/issues/12847)) ([2c58b6e](https://github.com/vitejs/vite/commit/2c58b6e)), closes [#&#8203;12847](https://github.com/vitejs/vite/issues/12847) - fix(build): do not warn when URL in CSS is externalized ([#&#8203;12873](https://github.com/vitejs/vite/issues/12873)) ([1510996](https://github.com/vitejs/vite/commit/1510996)), closes [#&#8203;12873](https://github.com/vitejs/vite/issues/12873) - fix: build time deps optimization, and ensure single crawl end call ([#&#8203;12851](https://github.com/vitejs/vite/issues/12851)) ([fa30879](https://github.com/vitejs/vite/commit/fa30879)), closes [#&#8203;12851](https://github.com/vitejs/vite/issues/12851) - fix: correct vite config temporary name ([#&#8203;12833](https://github.com/vitejs/vite/issues/12833)) ([cdd9c23](https://github.com/vitejs/vite/commit/cdd9c23)), closes [#&#8203;12833](https://github.com/vitejs/vite/issues/12833) - fix(importAnalysis): warning on ExportAllDeclaration ([#&#8203;12799](https://github.com/vitejs/vite/issues/12799)) ([5136b9b](https://github.com/vitejs/vite/commit/5136b9b)), closes [#&#8203;12799](https://github.com/vitejs/vite/issues/12799) - fix(optimizer): start optimizer after buildStart ([#&#8203;12832](https://github.com/vitejs/vite/issues/12832)) ([cfe75ee](https://github.com/vitejs/vite/commit/cfe75ee)), closes [#&#8203;12832](https://github.com/vitejs/vite/issues/12832) - fix: handle try-catch for fs promise when resolve https config ([#&#8203;12808](https://github.com/vitejs/vite/issues/12808)) ([0bba402](https://github.com/vitejs/vite/commit/0bba402)), closes [#&#8203;12808](https://github.com/vitejs/vite/issues/12808) - fix(build): correctly handle warning ignore list ([#&#8203;12831](https://github.com/vitejs/vite/issues/12831)) ([8830532](https://github.com/vitejs/vite/commit/8830532)), closes [#&#8203;12831](https://github.com/vitejs/vite/issues/12831) - fix(resolve): use different importer check for css imports ([#&#8203;12815](https://github.com/vitejs/vite/issues/12815)) ([d037327](https://github.com/vitejs/vite/commit/d037327)), closes [#&#8203;12815](https://github.com/vitejs/vite/issues/12815) - fix: ignore sideEffects for scripts imported from html ([#&#8203;12786](https://github.com/vitejs/vite/issues/12786)) ([f09551f](https://github.com/vitejs/vite/commit/f09551f)), closes [#&#8203;12786](https://github.com/vitejs/vite/issues/12786) - fix: warn on build when bundling code that uses nodejs built in module ([#&#8203;12616](https://github.com/vitejs/vite/issues/12616)) ([72050f9](https://github.com/vitejs/vite/commit/72050f9)), closes [#&#8203;12616](https://github.com/vitejs/vite/issues/12616) - fix(cli): pass mode to optimize command ([#&#8203;12776](https://github.com/vitejs/vite/issues/12776)) ([da38ad8](https://github.com/vitejs/vite/commit/da38ad8)), closes [#&#8203;12776](https://github.com/vitejs/vite/issues/12776) - fix(css): resolve at import from dependency basedir ([#&#8203;12796](https://github.com/vitejs/vite/issues/12796)) ([46bdf7d](https://github.com/vitejs/vite/commit/46bdf7d)), closes [#&#8203;12796](https://github.com/vitejs/vite/issues/12796) - fix(worker): asset in iife worker and relative base ([#&#8203;12697](https://github.com/vitejs/vite/issues/12697)) ([ddefc06](https://github.com/vitejs/vite/commit/ddefc06)), closes [#&#8203;12697](https://github.com/vitejs/vite/issues/12697) - fix(worker): return null for shouldTransformCachedModule ([#&#8203;12797](https://github.com/vitejs/vite/issues/12797)) ([ea5f6fc](https://github.com/vitejs/vite/commit/ea5f6fc)), closes [#&#8203;12797](https://github.com/vitejs/vite/issues/12797) - fix: allow onwarn to override vite default warning handling ([#&#8203;12757](https://github.com/vitejs/vite/issues/12757)) ([f736930](https://github.com/vitejs/vite/commit/f736930)), closes [#&#8203;12757](https://github.com/vitejs/vite/issues/12757) - fix: ensure module in graph before transforming ([#&#8203;12774](https://github.com/vitejs/vite/issues/12774)) ([44ad321](https://github.com/vitejs/vite/commit/44ad321)), closes [#&#8203;12774](https://github.com/vitejs/vite/issues/12774) - fix: update package cache watcher ([#&#8203;12772](https://github.com/vitejs/vite/issues/12772)) ([a78588f](https://github.com/vitejs/vite/commit/a78588f)), closes [#&#8203;12772](https://github.com/vitejs/vite/issues/12772) - fix: avoid clean up while committing deps folder ([#&#8203;12722](https://github.com/vitejs/vite/issues/12722)) ([3f4d109](https://github.com/vitejs/vite/commit/3f4d109)), closes [#&#8203;12722](https://github.com/vitejs/vite/issues/12722) - fix: ignore pnp resolve error ([#&#8203;12719](https://github.com/vitejs/vite/issues/12719)) ([2d30ae5](https://github.com/vitejs/vite/commit/2d30ae5)), closes [#&#8203;12719](https://github.com/vitejs/vite/issues/12719) - fix: leave fully dynamic import.meta.url asset (fixes [#&#8203;10306](https://github.com/vitejs/vite/issues/10306)) ([#&#8203;10549](https://github.com/vitejs/vite/issues/10549)) ([56802b1](https://github.com/vitejs/vite/commit/56802b1)), closes [#&#8203;10306](https://github.com/vitejs/vite/issues/10306) [#&#8203;10549](https://github.com/vitejs/vite/issues/10549) - fix: output combined sourcemap in importAnalysisBuild plugin ([#&#8203;12642](https://github.com/vitejs/vite/issues/12642)) ([d051639](https://github.com/vitejs/vite/commit/d051639)), closes [#&#8203;12642](https://github.com/vitejs/vite/issues/12642) - fix: take in relative assets path fixes from rollup ([#&#8203;12695](https://github.com/vitejs/vite/issues/12695)) ([81e44dd](https://github.com/vitejs/vite/commit/81e44dd)), closes [#&#8203;12695](https://github.com/vitejs/vite/issues/12695) - fix: throws error when plugin tries to resolve ID to external URL ([#&#8203;11731](https://github.com/vitejs/vite/issues/11731)) ([49674b5](https://github.com/vitejs/vite/commit/49674b5)), closes [#&#8203;11731](https://github.com/vitejs/vite/issues/11731) - fix(css): css file emit synchronously ([#&#8203;12558](https://github.com/vitejs/vite/issues/12558)) ([8e30025](https://github.com/vitejs/vite/commit/8e30025)), closes [#&#8203;12558](https://github.com/vitejs/vite/issues/12558) - fix(import-analysis): escape quotes correctly ([#&#8203;12688](https://github.com/vitejs/vite/issues/12688)) ([1638ebd](https://github.com/vitejs/vite/commit/1638ebd)), closes [#&#8203;12688](https://github.com/vitejs/vite/issues/12688) - fix(optimizer): load the correct lock file ([#&#8203;12700](https://github.com/vitejs/vite/issues/12700)) ([889eebe](https://github.com/vitejs/vite/commit/889eebe)), closes [#&#8203;12700](https://github.com/vitejs/vite/issues/12700) - fix(server): delay ws server listen when restart ([#&#8203;12734](https://github.com/vitejs/vite/issues/12734)) ([abe9274](https://github.com/vitejs/vite/commit/abe9274)), closes [#&#8203;12734](https://github.com/vitejs/vite/issues/12734) - fix(ssr): load sourcemaps alongside modules ([#&#8203;11780](https://github.com/vitejs/vite/issues/11780)) ([be95050](https://github.com/vitejs/vite/commit/be95050)), closes [#&#8203;11780](https://github.com/vitejs/vite/issues/11780) - fix(ssr): show ssr module loader error stack ([#&#8203;12651](https://github.com/vitejs/vite/issues/12651)) ([050c0f9](https://github.com/vitejs/vite/commit/050c0f9)), closes [#&#8203;12651](https://github.com/vitejs/vite/issues/12651) - fix(worker): disable manifest plugins in worker build ([#&#8203;12661](https://github.com/vitejs/vite/issues/12661)) ([20b8ef4](https://github.com/vitejs/vite/commit/20b8ef4)), closes [#&#8203;12661](https://github.com/vitejs/vite/issues/12661) - fix(worker): worker import.meta.url should not depends on document in iife mode ([#&#8203;12629](https://github.com/vitejs/vite/issues/12629)) ([65f5ed2](https://github.com/vitejs/vite/commit/65f5ed2)), closes [#&#8203;12629](https://github.com/vitejs/vite/issues/12629) - fix: avoid temporal optimize deps dirs ([#&#8203;12582](https://github.com/vitejs/vite/issues/12582)) ([ff92f2f](https://github.com/vitejs/vite/commit/ff92f2f)), closes [#&#8203;12582](https://github.com/vitejs/vite/issues/12582) - fix: await `buildStart` before server start ([#&#8203;12647](https://github.com/vitejs/vite/issues/12647)) ([871d353](https://github.com/vitejs/vite/commit/871d353)), closes [#&#8203;12647](https://github.com/vitejs/vite/issues/12647) - fix: call `buildStart` only once when using next port ([#&#8203;12624](https://github.com/vitejs/vite/issues/12624)) ([e10c6bd](https://github.com/vitejs/vite/commit/e10c6bd)), closes [#&#8203;12624](https://github.com/vitejs/vite/issues/12624) - fix: sourcemapIgnoreList for optimizedDeps ([#&#8203;12633](https://github.com/vitejs/vite/issues/12633)) ([c1d3fc9](https://github.com/vitejs/vite/commit/c1d3fc9)), closes [#&#8203;12633](https://github.com/vitejs/vite/issues/12633) - fix: splitFileAndPostfix works as cleanUrl ([#&#8203;12572](https://github.com/vitejs/vite/issues/12572)) ([276725f](https://github.com/vitejs/vite/commit/276725f)), closes [#&#8203;12572](https://github.com/vitejs/vite/issues/12572) - fix: throw error on build optimizeDeps issue ([#&#8203;12560](https://github.com/vitejs/vite/issues/12560)) ([02a46d7](https://github.com/vitejs/vite/commit/02a46d7)), closes [#&#8203;12560](https://github.com/vitejs/vite/issues/12560) - fix: use nearest pkg to resolved for moduleSideEffects ([#&#8203;12628](https://github.com/vitejs/vite/issues/12628)) ([1dfecc8](https://github.com/vitejs/vite/commit/1dfecc8)), closes [#&#8203;12628](https://github.com/vitejs/vite/issues/12628) - fix(css): use `charset: 'utf8'` by default for css ([#&#8203;12565](https://github.com/vitejs/vite/issues/12565)) ([c20a064](https://github.com/vitejs/vite/commit/c20a064)), closes [#&#8203;12565](https://github.com/vitejs/vite/issues/12565) - fix(html): dont pretransform public scripts ([#&#8203;12650](https://github.com/vitejs/vite/issues/12650)) ([4f0af3f](https://github.com/vitejs/vite/commit/4f0af3f)), closes [#&#8203;12650](https://github.com/vitejs/vite/issues/12650) - fix: avoid crash because of no access permission ([#&#8203;12552](https://github.com/vitejs/vite/issues/12552)) ([eea1682](https://github.com/vitejs/vite/commit/eea1682)), closes [#&#8203;12552](https://github.com/vitejs/vite/issues/12552) - fix: esbuild complains with extra fields ([#&#8203;12516](https://github.com/vitejs/vite/issues/12516)) ([7be0ba5](https://github.com/vitejs/vite/commit/7be0ba5)), closes [#&#8203;12516](https://github.com/vitejs/vite/issues/12516) - fix: escape replacements in clientInjections ([#&#8203;12486](https://github.com/vitejs/vite/issues/12486)) ([3765067](https://github.com/vitejs/vite/commit/3765067)), closes [#&#8203;12486](https://github.com/vitejs/vite/issues/12486) - fix: open browser reuse logic ([#&#8203;12535](https://github.com/vitejs/vite/issues/12535)) ([04d14af](https://github.com/vitejs/vite/commit/04d14af)), closes [#&#8203;12535](https://github.com/vitejs/vite/issues/12535) - fix: prevent error on not set location href ([#&#8203;12494](https://github.com/vitejs/vite/issues/12494)) ([2fb8527](https://github.com/vitejs/vite/commit/2fb8527)), closes [#&#8203;12494](https://github.com/vitejs/vite/issues/12494) - fix: simplify prettyUrl ([#&#8203;12488](https://github.com/vitejs/vite/issues/12488)) ([ebe5aa5](https://github.com/vitejs/vite/commit/ebe5aa5)), closes [#&#8203;12488](https://github.com/vitejs/vite/issues/12488) - fix(config): add random number to temp transpiled file ([#&#8203;12150](https://github.com/vitejs/vite/issues/12150)) ([2b2ba61](https://github.com/vitejs/vite/commit/2b2ba61)), closes [#&#8203;12150](https://github.com/vitejs/vite/issues/12150) - fix(deps): update all non-major dependencies ([#&#8203;12389](https://github.com/vitejs/vite/issues/12389)) ([3e60b77](https://github.com/vitejs/vite/commit/3e60b77)), closes [#&#8203;12389](https://github.com/vitejs/vite/issues/12389) - fix(html): public asset urls always being treated as paths (fix [#&#8203;11857](https://github.com/vitejs/vite/issues/11857)) ([#&#8203;11870](https://github.com/vitejs/vite/issues/11870)) ([46d1352](https://github.com/vitejs/vite/commit/46d1352)), closes [#&#8203;11857](https://github.com/vitejs/vite/issues/11857) [#&#8203;11870](https://github.com/vitejs/vite/issues/11870) - fix(ssr): hoist import statements to the top ([#&#8203;12274](https://github.com/vitejs/vite/issues/12274)) ([33baff5](https://github.com/vitejs/vite/commit/33baff5)), closes [#&#8203;12274](https://github.com/vitejs/vite/issues/12274) - fix(ssr): hoist re-exports with imports ([#&#8203;12530](https://github.com/vitejs/vite/issues/12530)) ([45549e4](https://github.com/vitejs/vite/commit/45549e4)), closes [#&#8203;12530](https://github.com/vitejs/vite/issues/12530) - fix: should generate Hi-res sourcemap for dev ([#&#8203;12501](https://github.com/vitejs/vite/issues/12501)) ([1502617](https://github.com/vitejs/vite/commit/1502617)), closes [#&#8203;12501](https://github.com/vitejs/vite/issues/12501) ##### Clean up - refactor: simplify crawlEndFinder ([#&#8203;12868](https://github.com/vitejs/vite/issues/12868)) ([31f8b51](https://github.com/vitejs/vite/commit/31f8b51)), closes [#&#8203;12868](https://github.com/vitejs/vite/issues/12868) - refactor: use simpler resolve for nested optimized deps ([#&#8203;12770](https://github.com/vitejs/vite/issues/12770)) ([d202588](https://github.com/vitejs/vite/commit/d202588)), closes [#&#8203;12770](https://github.com/vitejs/vite/issues/12770) - refactor: `import.meta.url` condition from renderChunk hook of worker plugin ([#&#8203;12696](https://github.com/vitejs/vite/issues/12696)) ([fdef8fd](https://github.com/vitejs/vite/commit/fdef8fd)), closes [#&#8203;12696](https://github.com/vitejs/vite/issues/12696) - refactor: clean up preTransformRequest ([#&#8203;12672](https://github.com/vitejs/vite/issues/12672)) ([561227c](https://github.com/vitejs/vite/commit/561227c)), closes [#&#8203;12672](https://github.com/vitejs/vite/issues/12672) - refactor: make debugger nullable ([#&#8203;12687](https://github.com/vitejs/vite/issues/12687)) ([89e4977](https://github.com/vitejs/vite/commit/89e4977)), closes [#&#8203;12687](https://github.com/vitejs/vite/issues/12687) - refactor: remove `ensureVolumeInPath` ([#&#8203;12690](https://github.com/vitejs/vite/issues/12690)) ([a3150ee](https://github.com/vitejs/vite/commit/a3150ee)), closes [#&#8203;12690](https://github.com/vitejs/vite/issues/12690) - refactor: remove unused exports data props ([#&#8203;12740](https://github.com/vitejs/vite/issues/12740)) ([4538bfe](https://github.com/vitejs/vite/commit/4538bfe)), closes [#&#8203;12740](https://github.com/vitejs/vite/issues/12740) - refactor: use `resolvePackageData` in `requireResolveFromRootWithFallback` ([#&#8203;12712](https://github.com/vitejs/vite/issues/12712)) ([1ea38e2](https://github.com/vitejs/vite/commit/1ea38e2)), closes [#&#8203;12712](https://github.com/vitejs/vite/issues/12712) - refactor(css): simplify cached import code ([#&#8203;12730](https://github.com/vitejs/vite/issues/12730)) ([0646754](https://github.com/vitejs/vite/commit/0646754)), closes [#&#8203;12730](https://github.com/vitejs/vite/issues/12730) - refactor: improve scanner logs ([#&#8203;12578](https://github.com/vitejs/vite/issues/12578)) ([9925a72](https://github.com/vitejs/vite/commit/9925a72)), closes [#&#8203;12578](https://github.com/vitejs/vite/issues/12578) - refactor: isInNodeModules util ([#&#8203;12588](https://github.com/vitejs/vite/issues/12588)) ([fb3245a](https://github.com/vitejs/vite/commit/fb3245a)), closes [#&#8203;12588](https://github.com/vitejs/vite/issues/12588) - refactor: remove `idToPkgMap` ([#&#8203;12564](https://github.com/vitejs/vite/issues/12564)) ([a326ec8](https://github.com/vitejs/vite/commit/a326ec8)), closes [#&#8203;12564](https://github.com/vitejs/vite/issues/12564) - refactor: simplify lookupFile ([#&#8203;12585](https://github.com/vitejs/vite/issues/12585)) ([4215e22](https://github.com/vitejs/vite/commit/4215e22)), closes [#&#8203;12585](https://github.com/vitejs/vite/issues/12585) - refactor: tryStatSync as util ([#&#8203;12575](https://github.com/vitejs/vite/issues/12575)) ([92601db](https://github.com/vitejs/vite/commit/92601db)), closes [#&#8203;12575](https://github.com/vitejs/vite/issues/12575) - refactor: use findNearestPackageData in more places ([#&#8203;12577](https://github.com/vitejs/vite/issues/12577)) ([35faae9](https://github.com/vitejs/vite/commit/35faae9)), closes [#&#8203;12577](https://github.com/vitejs/vite/issues/12577) - refactor: esbuild plugin config logic ([#&#8203;12493](https://github.com/vitejs/vite/issues/12493)) ([45b5b0f](https://github.com/vitejs/vite/commit/45b5b0f)), closes [#&#8203;12493](https://github.com/vitejs/vite/issues/12493) ##### Previous Changelogs ##### [4.3.0-beta.8](https://github.com/vitejs/vite/compare/v4.3.0-beta.7....v4.3.0-beta.8) (2023-04-19) See [4.3.0-beta.8 changelog](https://github.com/vitejs/vite/blob/v4.3.0-beta.8/packages/vite/CHANGELOG.md) ##### [4.3.0-beta.7](https://github.com/vitejs/vite/compare/v4.3.0-beta.6....v4.3.0-beta.7) (2023-04-17) See [4.3.0-beta.7 changelog](https://github.com/vitejs/vite/blob/v4.3.0-beta.7/packages/vite/CHANGELOG.md) ##### [4.3.0-beta.6](https://github.com/vitejs/vite/compare/v4.3.0-beta.5....v4.3.0-beta.6) (2023-04-14) See [4.3.0-beta.6 changelog](https://github.com/vitejs/vite/blob/v4.3.0-beta.6/packages/vite/CHANGELOG.md) ##### [4.3.0-beta.5](https://github.com/vitejs/vite/compare/v4.3.0-beta.4....v4.3.0-beta.5) (2023-04-11) See [4.3.0-beta.5 changelog](https://github.com/vitejs/vite/blob/v4.3.0-beta.5/packages/vite/CHANGELOG.md) ##### [4.3.0-beta.4](https://github.com/vitejs/vite/compare/v4.3.0-beta.3....v4.3.0-beta.4) (2023-04-09) See [4.3.0-beta.4 changelog](https://github.com/vitejs/vite/blob/v4.3.0-beta.4/packages/vite/CHANGELOG.md) ##### [4.3.0-beta.3](https://github.com/vitejs/vite/compare/v4.3.0-beta.2....v4.3.0-beta.3) (2023-04-07) See [4.3.0-beta.3 changelog](https://github.com/vitejs/vite/blob/v4.3.0-beta.3/packages/vite/CHANGELOG.md) ##### [4.3.0-beta.2](https://github.com/vitejs/vite/compare/v4.3.0-beta.1....v4.3.0-beta.2) (2023-04-05) See [4.3.0-beta.2 changelog](https://github.com/vitejs/vite/blob/v4.3.0-beta.2/packages/vite/CHANGELOG.md) ##### [4.3.0-beta.1](https://github.com/vitejs/vite/compare/v4.3.0-beta.0....v4.3.0-beta.1) (2023-03-29) See [4.3.0-beta.1 changelog](https://github.com/vitejs/vite/blob/v4.3.0-beta.1/packages/vite/CHANGELOG.md) ##### [4.3.0-beta.0](https://github.com/vitejs/vite/compare/v4.2.1....v4.3.0-beta.0) (2023-03-23) See [4.3.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v4.3.0-beta.0/packages/vite/CHANGELOG.md) ### [`v4.2.3`](https://github.com/vitejs/vite/releases/tag/v4.2.3) [Compare Source](https://github.com/vitejs/vite/compare/v4.2.2...v4.2.3) Please refer to [CHANGELOG.md](https://github.com/vitejs/vite/blob/v4.2.3/packages/vite/CHANGELOG.md) for details. ### [`v4.2.2`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small422-2023-04-18-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.2.1...v4.2.2) - fix: escape msg in render restricted error html, backport [#&#8203;12889](https://github.com/vitejs/vite/issues/12889) ([8758c5c](https://github.com/vitejs/vite/commit/8758c5c)), closes [#&#8203;12889](https://github.com/vitejs/vite/issues/12889) ### [`v4.2.1`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small421-2023-03-20-small) [Compare Source](https://github.com/vitejs/vite/compare/9dbb7f7765fd7d255daf82ad44fe867d49f0befd...v4.2.1) - fix: add `virtual:` to virtual module source map ignore ([#&#8203;12444](https://github.com/vitejs/vite/issues/12444)) ([c4aa28f](https://github.com/vitejs/vite/commit/c4aa28f)), closes [#&#8203;12444](https://github.com/vitejs/vite/issues/12444) - fix(css): inject source content conditionally ([#&#8203;12449](https://github.com/vitejs/vite/issues/12449)) ([3e665f6](https://github.com/vitejs/vite/commit/3e665f6)), closes [#&#8203;12449](https://github.com/vitejs/vite/issues/12449) - fix(worker): using data URLs for inline shared worker ([#&#8203;12014](https://github.com/vitejs/vite/issues/12014)) ([79a5007](https://github.com/vitejs/vite/commit/79a5007)), closes [#&#8203;12014](https://github.com/vitejs/vite/issues/12014) - chore: changelog edits for 4.2 ([#&#8203;12438](https://github.com/vitejs/vite/issues/12438)) ([ce047e3](https://github.com/vitejs/vite/commit/ce047e3)), closes [#&#8203;12438](https://github.com/vitejs/vite/issues/12438) ### [`v4.2.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#420-2023-03-16) [Compare Source](https://github.com/vitejs/vite/compare/v4.1.5...9dbb7f7765fd7d255daf82ad44fe867d49f0befd) Vite 4.2 is out! ##### Support env variables replacement in HTML files Vite now supports [replacing env variables in HTML files](https://vitejs.dev/guide/env-and-mode.html#html-env-replacement). Any properties in `import.meta.env` can be used in HTML files with a special `%ENV_NAME%` syntax: ```html <h1>Vite is running in %MODE%</h1> <p>Using data from %VITE_API_URL%</p> ``` ##### Sourcemaps improvements The Chrome Dev Tools team has been working to improve the DX of Vite and Vite-powered frameworks in the dev tools. Vite 4.2 brings an [improved experience](https://twitter.com/bmeurer/status/1631286267823439881) and tools for framework authors to [hide 3rd party code and build artifacts from the user](https://twitter.com/bmeurer/status/1631531492462526467) from console log traces using [`server.sourcemapIgnoreList`](https://vitejs.dev/config/server-options.html#server-sourcemapignorelist) and [`build.rollupOptions.output.sourcemapIgnoreList`](https://rollupjs.org/configuration-options/#output-sourcemapignorelist). ##### ESM subpath imports Vite 4.2 now supports [subpath imports](https://nodejs.org/api/packages.html#subpath-imports), thanks to [@&#8203;lukeed05](https://twitter.com/lukeed05)'s [resolve.exports](https://github.com/lukeed/resolve.exports) library. ##### TypeScript 5 support Vite 4.2 also supports TypeScript 5's `tsconfig` `extends` [array format](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#supporting-multiple-configuration-files-in-extends), thanks to [tsconfck](https://github.com/dominikg/tsconfck). ##### esbuild 0.17 esbuild [v0.17.0](https://github.com/evanw/esbuild/releases/tag/v0.17.0) improved the design of its incremental, watch, and serve APIs. Check out [#&#8203;11908](https://github.com/vitejs/vite/pull/11908) for the rationale of why we didn't consider the backward-incompatible changes breaking for our use cases. The updated esbuild design now allows Vite to properly cancel in-fly builds and improve server restarts. ##### Use Rollup types from the vite package Expose Rollup types as a namespace. This is helpful to avoid type conflicts because of different versions of Rollup types in environments like [vite-ecosystem-ci](https://github.com/vitejs/vite-ecosystem-ci) ([#&#8203;12316](https://github.com/vitejs/vite/issues/12316)). ```ts import type { Rollup } from 'vite' ``` ##### Português Docs Translation The Vite documentation is now translated to Português at [pt.vitejs.dev](https://pt.vitejs.dev) thanks to [Nazaré Da Piedade](https://twitter.com/nazarepiedady) . ##### Features - feat: add status message for 504 caused by optimizer ([#&#8203;12435](https://github.com/vitejs/vite/issues/12435)) ([5cdd3fa](https://github.com/vitejs/vite/commit/5cdd3fa)), closes [#&#8203;12435](https://github.com/vitejs/vite/issues/12435) - feat: update tsconfck to 2.1.0 to add support for typescript 5 config syntax ([#&#8203;12401](https://github.com/vitejs/vite/issues/12401)) ([3f1c379](https://github.com/vitejs/vite/commit/3f1c379)), closes [#&#8203;12401](https://github.com/vitejs/vite/issues/12401) - feat: default esbuild jsxDev based on config.isProduction ([#&#8203;12386](https://github.com/vitejs/vite/issues/12386)) ([f24c2b0](https://github.com/vitejs/vite/commit/f24c2b0)), closes [#&#8203;12386](https://github.com/vitejs/vite/issues/12386) - feat(css): add `build.cssMinify` ([#&#8203;12207](https://github.com/vitejs/vite/issues/12207)) ([90431f2](https://github.com/vitejs/vite/commit/90431f2)), closes [#&#8203;12207](https://github.com/vitejs/vite/issues/12207) - feat(types): export Rollup namespace ([#&#8203;12316](https://github.com/vitejs/vite/issues/12316)) ([6e49e52](https://github.com/vitejs/vite/commit/6e49e52)), closes [#&#8203;12316](https://github.com/vitejs/vite/issues/12316) - feat: add `sourcemapIgnoreList` configuration option ([#&#8203;12174](https://github.com/vitejs/vite/issues/12174)) ([f875580](https://github.com/vitejs/vite/commit/f875580)), closes [#&#8203;12174](https://github.com/vitejs/vite/issues/12174) - feat: cancellable scan during optimization ([#&#8203;12225](https://github.com/vitejs/vite/issues/12225)) ([1e1cd3b](https://github.com/vitejs/vite/commit/1e1cd3b)), closes [#&#8203;12225](https://github.com/vitejs/vite/issues/12225) - feat: don't override `build.target` if terser is 5.16.0+ ([#&#8203;12197](https://github.com/vitejs/vite/issues/12197)) ([9885f6f](https://github.com/vitejs/vite/commit/9885f6f)), closes [#&#8203;12197](https://github.com/vitejs/vite/issues/12197) - feat: support ESM subpath imports ([#&#8203;7770](https://github.com/vitejs/vite/issues/7770)) ([cc92da9](https://github.com/vitejs/vite/commit/cc92da9)), closes [#&#8203;7770](https://github.com/vitejs/vite/issues/7770) - feat(css): add preprocessor option to define stylus vars & funcs ([#&#8203;7227](https://github.com/vitejs/vite/issues/7227)) ([5968bec](https://github.com/vitejs/vite/commit/5968bec)), closes [#&#8203;7227](https://github.com/vitejs/vite/issues/7227) - feat(css): support resolving stylesheets from exports map ([#&#8203;7817](https://github.com/vitejs/vite/issues/7817)) ([108aadf](https://github.com/vitejs/vite/commit/108aadf)), closes [#&#8203;7817](https://github.com/vitejs/vite/issues/7817) - feat(html): support env replacement ([#&#8203;12202](https://github.com/vitejs/vite/issues/12202)) ([4f2c49f](https://github.com/vitejs/vite/commit/4f2c49f)), closes [#&#8203;12202](https://github.com/vitejs/vite/issues/12202) - refactor: customize ErrorOverlay (part 2) ([#&#8203;11830](https://github.com/vitejs/vite/issues/11830)) ([4159e6f](https://github.com/vitejs/vite/commit/4159e6f)), closes [#&#8203;11830](https://github.com/vitejs/vite/issues/11830) - refactor: remove constructed sheet type style injection ([#&#8203;11818](https://github.com/vitejs/vite/issues/11818)) ([1a6a0c2](https://github.com/vitejs/vite/commit/1a6a0c2)), closes [#&#8203;11818](https://github.com/vitejs/vite/issues/11818) - refactor(importAnalysis): cache injected env string ([#&#8203;12154](https://github.com/vitejs/vite/issues/12154)) ([2aad552](https://github.com/vitejs/vite/commit/2aad552)), closes [#&#8203;12154](https://github.com/vitejs/vite/issues/12154) - feat: esbuild 0.17 ([#&#8203;11908](https://github.com/vitejs/vite/issues/11908)) ([9d42f06](https://github.com/vitejs/vite/commit/9d42f06)), closes [#&#8203;11908](https://github.com/vitejs/vite/issues/11908) - feat: ignore list client injected sources ([#&#8203;12170](https://github.com/vitejs/vite/issues/12170)) ([8a98aef](https://github.com/vitejs/vite/commit/8a98aef)), closes [#&#8203;12170](https://github.com/vitejs/vite/issues/12170) - feat: support rollup plugin `this.load` in plugin container context ([#&#8203;11469](https://github.com/vitejs/vite/issues/11469)) ([abfa804](https://github.com/vitejs/vite/commit/abfa804)), closes [#&#8203;11469](https://github.com/vitejs/vite/issues/11469) - feat(cli): allow to specify sourcemap mode via --sourcemap build's option ([#&#8203;11505](https://github.com/vitejs/vite/issues/11505)) ([ee3b90a](https://github.com/vitejs/vite/commit/ee3b90a)), closes [#&#8203;11505](https://github.com/vitejs/vite/issues/11505) - feat(reporter): report built time ([#&#8203;12100](https://github.com/vitejs/vite/issues/12100)) ([f2ad222](https://github.com/vitejs/vite/commit/f2ad222)), closes [#&#8203;12100](https://github.com/vitejs/vite/issues/12100) ##### Bug Fixes - fix: html env replacement plugin position ([#&#8203;12404](https://github.com/vitejs/vite/issues/12404)) ([96f36a9](https://github.com/vitejs/vite/commit/96f36a9)), closes [#&#8203;12404](https://github.com/vitejs/vite/issues/12404) - fix(optimizer): # symbol in deps id stripped by browser ([#&#8203;12415](https://github.com/vitejs/vite/issues/12415)) ([e23f690](https://github.com/vitejs/vite/commit/e23f690)), closes [#&#8203;12415](https://github.com/vitejs/vite/issues/12415) - fix(resolve): rebase sub imports relative path ([#&#8203;12373](https://github.com/vitejs/vite/issues/12373)) ([fe1d61a](https://github.com/vitejs/vite/commit/fe1d61a)), closes [#&#8203;12373](https://github.com/vitejs/vite/issues/12373) - fix(server): should close server after create new server ([#&#8203;12379](https://github.com/vitejs/vite/issues/12379)) ([d23605d](https://github.com/vitejs/vite/commit/d23605d)), closes [#&#8203;12379](https://github.com/vitejs/vite/issues/12379) - fix(resolve): remove deep import syntax handling ([#&#8203;12381](https://github.com/vitejs/vite/issues/12381)) ([42e0d6a](https://github.com/vitejs/vite/commit/42e0d6a)), closes [#&#8203;12381](https://github.com/vitejs/vite/issues/12381) - fix: print urls when dns order change ([#&#8203;12261](https://github.com/vitejs/vite/issues/12261)) ([e57cacf](https://github.com/vitejs/vite/commit/e57cacf)), closes [#&#8203;12261](https://github.com/vitejs/vite/issues/12261) - fix: throw ssr import error directly (fix [#&#8203;12322](https://github.com/vitejs/vite/issues/12322)) ([#&#8203;12324](https://github.com/vitejs/vite/issues/12324)) ([21ffc6a](https://github.com/vitejs/vite/commit/21ffc6a)), closes [#&#8203;12322](https://github.com/vitejs/vite/issues/12322) [#&#8203;12324](https://github.com/vitejs/vite/issues/12324) - fix(config): watch config even outside of root ([#&#8203;12321](https://github.com/vitejs/vite/issues/12321)) ([7e2fff7](https://github.com/vitejs/vite/commit/7e2fff7)), closes [#&#8203;12321](https://github.com/vitejs/vite/issues/12321) - fix(config): watch envDir even outside of root ([#&#8203;12349](https://github.com/vitejs/vite/issues/12349)) ([131f3ee](https://github.com/vitejs/vite/commit/131f3ee)), closes [#&#8203;12349](https://github.com/vitejs/vite/issues/12349) - fix(define): correctly replace SSR in dev ([#&#8203;12204](https://github.com/vitejs/vite/issues/12204)) ([0f6de4d](https://github.com/vitejs/vite/commit/0f6de4d)), closes [#&#8203;12204](https://github.com/vitejs/vite/issues/12204) - fix(optimizer): suppress esbuild cancel error ([#&#8203;12358](https://github.com/vitejs/vite/issues/12358)) ([86a24e4](https://github.com/vitejs/vite/commit/86a24e4)), closes [#&#8203;12358](https://github.com/vitejs/vite/issues/12358) - fix(optimizer): transform css require to import directly ([#&#8203;12343](https://github.com/vitejs/vite/issues/12343)) ([716286e](https://github.com/vitejs/vite/commit/716286e)), closes [#&#8203;12343](https://github.com/vitejs/vite/issues/12343) - fix(reporter): build.assetsDir should not impact output when in lib mode ([#&#8203;12108](https://github.com/vitejs/vite/issues/12108)) ([b12f457](https://github.com/vitejs/vite/commit/b12f457)), closes [#&#8203;12108](https://github.com/vitejs/vite/issues/12108) - fix(types): avoid resolve.exports types for bundling ([#&#8203;12346](https://github.com/vitejs/vite/issues/12346)) ([6b40f03](https://github.com/vitejs/vite/commit/6b40f03)), closes [#&#8203;12346](https://github.com/vitejs/vite/issues/12346) - fix(worker): force rollup to build worker module under watch mode ([#&#8203;11919](https://github.com/vitejs/vite/issues/11919)) ([d464679](https://github.com/vitejs/vite/commit/d464679)), closes [#&#8203;11919](https://github.com/vitejs/vite/issues/11919) - fix: resolve browser mapping using bare imports (fix [#&#8203;11208](https://github.com/vitejs/vite/issues/11208)) ([#&#8203;11219](https://github.com/vitejs/vite/issues/11219)) ([22de84f](https://github.com/vitejs/vite/commit/22de84f)), closes [#&#8203;11208](https://github.com/vitejs/vite/issues/11208) [#&#8203;11219](https://github.com/vitejs/vite/issues/11219) - fix: avoid null sourcePath in `server.sourcemapIgnoreList` ([#&#8203;12251](https://github.com/vitejs/vite/issues/12251)) ([209c3bd](https://github.com/vitejs/vite/commit/209c3bd)), closes [#&#8203;12251](https://github.com/vitejs/vite/issues/12251) - fix: configure proxy before subscribing to error events ([#&#8203;12263](https://github.com/vitejs/vite/issues/12263)) ([c35e100](https://github.com/vitejs/vite/commit/c35e100)), closes [#&#8203;12263](https://github.com/vitejs/vite/issues/12263) - fix: enforce absolute path for server.sourcemapIgnoreList ([#&#8203;12309](https://github.com/vitejs/vite/issues/12309)) ([ab6ae07](https://github.com/vitejs/vite/commit/ab6ae07)), closes [#&#8203;12309](https://github.com/vitejs/vite/issues/12309) - fix: handle error without line and column in loc ([#&#8203;12312](https://github.com/vitejs/vite/issues/12312)) ([ce18eba](https://github.com/vitejs/vite/commit/ce18eba)), closes [#&#8203;12312](https://github.com/vitejs/vite/issues/12312) - fix: properly clean up optimization temp folder ([#&#8203;12237](https://github.com/vitejs/vite/issues/12237)) ([fbbf8fe](https://github.com/vitejs/vite/commit/fbbf8fe)), closes [#&#8203;12237](https://github.com/vitejs/vite/issues/12237) - fix: unique dep optimizer temp folders ([#&#8203;12252](https://github.com/vitejs/vite/issues/12252)) ([38ce81c](https://github.com/vitejs/vite/commit/38ce81c)), closes [#&#8203;12252](https://github.com/vitejs/vite/issues/12252) - fix(build-import-analysis): should not append ?used when css request has ?url or ?raw ([#&#8203;11910](https://github.com/vitejs/vite/issues/11910)) ([e3f725f](https://github.com/vitejs/vite/commit/e3f725f)), closes [#&#8203;11910](https://github.com/vitejs/vite/issues/11910) - fix(optimizer): don not call context.rebuild after cancel ([#&#8203;12264](https://github.com/vitejs/vite/issues/12264)) ([520d84e](https://github.com/vitejs/vite/commit/520d84e)), closes [#&#8203;12264](https://github.com/vitejs/vite/issues/12264) - fix(resolve): update `resolve.exports` to `2.0.1` to fix `*` resolution issue ([#&#8203;12314](https://github.com/vitejs/vite/issues/12314)) ([523d6f7](https://github.com/vitejs/vite/commit/523d6f7)), closes [#&#8203;12314](https://github.com/vitejs/vite/issues/12314) - fix: use relative paths in `sources` for transformed source maps ([#&#8203;12079](https://github.com/vitejs/vite/issues/12079)) ([bcbc582](https://github.com/vitejs/vite/commit/bcbc582)), closes [#&#8203;12079](https://github.com/vitejs/vite/issues/12079) - fix(cli): after setting server.open, the default open is inconsistent… ([#&#8203;11974](https://github.com/vitejs/vite/issues/11974)) ([33a38db](https://github.com/vitejs/vite/commit/33a38db)), closes [#&#8203;11974](https://github.com/vitejs/vite/issues/11974) - fix(client-inject): replace globalThis.process.env.NODE_ENV (fix [#&#8203;12185](https://github.com/vitejs/vite/issues/12185)) ([#&#8203;12194](https://github.com/vitejs/vite/issues/12194)) ([2063648](https://github.com/vitejs/vite/commit/2063648)), closes [#&#8203;12185](https://github.com/vitejs/vite/issues/12185) [#&#8203;12194](https://github.com/vitejs/vite/issues/12194) - fix(css): should not rebase http url for less (fix: [#&#8203;12155](https://github.com/vitejs/vite/issues/12155)) ([#&#8203;12195](https://github.com/vitejs/vite/issues/12195)) ([9cca30d](https://github.com/vitejs/vite/commit/9cca30d)), closes [#&#8203;12155](https://github.com/vitejs/vite/issues/12155) [#&#8203;12195](https://github.com/vitejs/vite/issues/12195) - fix(deps): update all non-major dependencies ([#&#8203;12036](https://github.com/vitejs/vite/issues/12036)) ([48150f2](https://github.com/vitejs/vite/commit/48150f2)), closes [#&#8203;12036](https://github.com/vitejs/vite/issues/12036) - fix(import-analysis): improve error for jsx to not be preserve in tsconfig ([#&#8203;12018](https://github.com/vitejs/vite/issues/12018)) ([91fac1c](https://github.com/vitejs/vite/commit/91fac1c)), closes [#&#8203;12018](https://github.com/vitejs/vite/issues/12018) - fix(optimizer): log esbuild error when scanning deps ([#&#8203;11977](https://github.com/vitejs/vite/issues/11977)) ([20e6060](https://github.com/vitejs/vite/commit/20e6060)), closes [#&#8203;11977](https://github.com/vitejs/vite/issues/11977) - fix(optimizer): log unoptimizable entries ([#&#8203;12138](https://github.com/vitejs/vite/issues/12138)) ([2c93e0b](https://github.com/vitejs/vite/commit/2c93e0b)), closes [#&#8203;12138](https://github.com/vitejs/vite/issues/12138) - fix(server): watch env files creating and deleting (fix [#&#8203;12127](https://github.com/vitejs/vite/issues/12127)) ([#&#8203;12129](https://github.com/vitejs/vite/issues/12129)) ([cc3724f](https://github.com/vitejs/vite/commit/cc3724f)), closes [#&#8203;12127](https://github.com/vitejs/vite/issues/12127) [#&#8203;12129](https://github.com/vitejs/vite/issues/12129) - build: correct d.ts output dir in development ([#&#8203;12212](https://github.com/vitejs/vite/issues/12212)) ([b90bc1f](https://github.com/vitejs/vite/commit/b90bc1f)), closes [#&#8203;12212](https://github.com/vitejs/vite/issues/12212) ##### Previous Changelogs ##### [4.2.0-beta.2](https://github.com/vitejs/vite/compare/v4.2.0-beta.1....v4.2.0-beta.2) (2023-03-13) See [4.2.0-beta.2 changelog](https://github.com/vitejs/vite/blob/v4.2.0-beta.2/packages/vite/CHANGELOG.md) ##### [4.2.0-beta.1](https://github.com/vitejs/vite/compare/v4.2.0-beta.0....v4.2.0-beta.1) (2023-03-07) See [4.2.0-beta.1 changelog](https://github.com/vitejs/vite/blob/v4.2.0-beta.1/packages/vite/CHANGELOG.md) ##### [4.2.0-beta.0](https://github.com/vitejs/vite/compare/v4.1.4....v4.2.0-beta.0) (2023-02-27) See [4.2.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v4.2.0-beta.0/packages/vite/CHANGELOG.md) ### [`v4.1.5`](https://github.com/vitejs/vite/releases/tag/v4.1.5) [Compare Source](https://github.com/vitejs/vite/compare/v4.1.4...v4.1.5) Please refer to [CHANGELOG.md](https://github.com/vitejs/vite/blob/v4.1.5/packages/vite/CHANGELOG.md) for details. ### [`v4.1.4`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small414-2023-02-21-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.1.3...v4.1.4) - fix(define): should not stringify vite internal env ([#&#8203;12120](https://github.com/vitejs/vite/issues/12120)) ([73c3999](https://github.com/vitejs/vite/commit/73c3999)), closes [#&#8203;12120](https://github.com/vitejs/vite/issues/12120) - docs: update rollup docs links ([#&#8203;12130](https://github.com/vitejs/vite/issues/12130)) ([439a73f](https://github.com/vitejs/vite/commit/439a73f)), closes [#&#8203;12130](https://github.com/vitejs/vite/issues/12130) ### [`v4.1.3`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small413-2023-02-20-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.1.2...v4.1.3) - fix: catch and handle websocket error ([#&#8203;11991](https://github.com/vitejs/vite/issues/11991)) ([#&#8203;12007](https://github.com/vitejs/vite/issues/12007)) ([4b5cc9f](https://github.com/vitejs/vite/commit/4b5cc9f)), closes [#&#8203;11991](https://github.com/vitejs/vite/issues/11991) [#&#8203;12007](https://github.com/vitejs/vite/issues/12007) - fix: do not append version query param when scanning for dependencies ([#&#8203;11961](https://github.com/vitejs/vite/issues/11961)) ([575bcf6](https://github.com/vitejs/vite/commit/575bcf6)), closes [#&#8203;11961](https://github.com/vitejs/vite/issues/11961) - fix(css): handle pure css chunk heuristic with special queries ([#&#8203;12091](https://github.com/vitejs/vite/issues/12091)) ([a873af5](https://github.com/vitejs/vite/commit/a873af5)), closes [#&#8203;12091](https://github.com/vitejs/vite/issues/12091) - fix(esbuild): umd helper insert into wrong position in lib mode ([#&#8203;11988](https://github.com/vitejs/vite/issues/11988)) ([86bc243](https://github.com/vitejs/vite/commit/86bc243)), closes [#&#8203;11988](https://github.com/vitejs/vite/issues/11988) - fix(html): respect disable modulepreload ([#&#8203;12111](https://github.com/vitejs/vite/issues/12111)) ([6c50119](https://github.com/vitejs/vite/commit/6c50119)), closes [#&#8203;12111](https://github.com/vitejs/vite/issues/12111) - fix(html): rewrite assets url in `<noscript>` ([#&#8203;11764](https://github.com/vitejs/vite/issues/11764)) ([1dba285](https://github.com/vitejs/vite/commit/1dba285)), closes [#&#8203;11764](https://github.com/vitejs/vite/issues/11764) - feat(preview): improve error when build output missing ([#&#8203;12096](https://github.com/vitejs/vite/issues/12096)) ([a0702a1](https://github.com/vitejs/vite/commit/a0702a1)), closes [#&#8203;12096](https://github.com/vitejs/vite/issues/12096) - feat(ssr): add importer path to error msg when invalid url import occur ([#&#8203;11606](https://github.com/vitejs/vite/issues/11606)) ([70729c0](https://github.com/vitejs/vite/commit/70729c0)), closes [#&#8203;11606](https://github.com/vitejs/vite/issues/11606) ### [`v4.1.2`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small412-2023-02-17-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.1.1...v4.1.2) - fix: correct access to `crossOrigin` attribute ([#&#8203;12023](https://github.com/vitejs/vite/issues/12023)) ([6a0d356](https://github.com/vitejs/vite/commit/6a0d356)), closes [#&#8203;12023](https://github.com/vitejs/vite/issues/12023) - fix: narrow defineConfig return type ([#&#8203;12021](https://github.com/vitejs/vite/issues/12021)) ([18fa8f0](https://github.com/vitejs/vite/commit/18fa8f0)), closes [#&#8203;12021](https://github.com/vitejs/vite/issues/12021) - fix(define): inconsistent env values in build mode ([#&#8203;12058](https://github.com/vitejs/vite/issues/12058)) ([0a50c59](https://github.com/vitejs/vite/commit/0a50c59)), closes [#&#8203;12058](https://github.com/vitejs/vite/issues/12058) - fix(env): compatible with env variables ended with unescaped $ ([#&#8203;12031](https://github.com/vitejs/vite/issues/12031)) ([05b3df0](https://github.com/vitejs/vite/commit/05b3df0)), closes [#&#8203;12031](https://github.com/vitejs/vite/issues/12031) - fix(ssr): print file url in `ssrTransform` parse error ([#&#8203;12060](https://github.com/vitejs/vite/issues/12060)) ([19f39f7](https://github.com/vitejs/vite/commit/19f39f7)), closes [#&#8203;12060](https://github.com/vitejs/vite/issues/12060) - revert: narrow defineConfig return type ([#&#8203;12077](https://github.com/vitejs/vite/issues/12077)) ([54d511e](https://github.com/vitejs/vite/commit/54d511e)), closes [#&#8203;12077](https://github.com/vitejs/vite/issues/12077) - feat: support `import.meta.hot?.accept` ([#&#8203;12053](https://github.com/vitejs/vite/issues/12053)) ([081c27f](https://github.com/vitejs/vite/commit/081c27f)), closes [#&#8203;12053](https://github.com/vitejs/vite/issues/12053) - chore: add jsdoc default value ([#&#8203;11746](https://github.com/vitejs/vite/issues/11746)) ([8c87af7](https://github.com/vitejs/vite/commit/8c87af7)), closes [#&#8203;11746](https://github.com/vitejs/vite/issues/11746) - chore: fix typos ([#&#8203;12032](https://github.com/vitejs/vite/issues/12032)) ([ee1a686](https://github.com/vitejs/vite/commit/ee1a686)), closes [#&#8203;12032](https://github.com/vitejs/vite/issues/12032) - chore(deps): update dependency strip-literal to v1 ([#&#8203;12044](https://github.com/vitejs/vite/issues/12044)) ([5bd6c0a](https://github.com/vitejs/vite/commit/5bd6c0a)), closes [#&#8203;12044](https://github.com/vitejs/vite/issues/12044) - chore(pluginContainer): simplify error position judge condition ([#&#8203;12003](https://github.com/vitejs/vite/issues/12003)) ([e3ef9f4](https://github.com/vitejs/vite/commit/e3ef9f4)), closes [#&#8203;12003](https://github.com/vitejs/vite/issues/12003) ### [`v4.1.1`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small411-2023-02-02-small) [Compare Source](https://github.com/vitejs/vite/compare/c57c21cc36d953d36a518226cbc06fb92b48a784...v4.1.1) - chore: 4.1.0 changelog cleanup ([#&#8203;11900](https://github.com/vitejs/vite/issues/11900)) ([7747d32](https://github.com/vitejs/vite/commit/7747d32)), closes [#&#8203;11900](https://github.com/vitejs/vite/issues/11900) - fix: catch statSync error ([#&#8203;11907](https://github.com/vitejs/vite/issues/11907)) ([f80b9a2](https://github.com/vitejs/vite/commit/f80b9a2)), closes [#&#8203;11907](https://github.com/vitejs/vite/issues/11907) ### [`v4.1.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#410-2023-02-02) [Compare Source](https://github.com/vitejs/vite/compare/v4.0.5...c57c21cc36d953d36a518226cbc06fb92b48a784) Vite 4.1 updates to the latest versions of Rollup and esbuild. Check out the new [Rollup docs](https://rollupjs.org/), that are now powered by VitePress making the navigation between Vite and Rollup docs easier for users. [Vite docs](https://vitejs.dev) got a theme update migrating to the latest version of VitePress. As part of [Vite 4](https://vitejs.dev/blog/announcing-vite4.html), 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 [@&#8203;vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/releases/tag/plugin-react%403.1.0) and [@&#8203;vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc/releases/tag/v3.1.0). [@&#8203;vitejs/plugin-react](https://github.com/vitejs/plugin-react) 3.1.0 reworks the way HMR is handled fixing many edge cases and [@&#8203;vitejs/plugin-react-swc](https://github.com/vitejs/plugin-react-swc) 3.1.0 adds support for SWC plugins. There is also a new major for [@&#8203;vitejs/plugin-legacy](https://github.com/vitejs/vite/blob/main/packages/plugin-legacy), see [changelog for v4.0.0](https://github.com/vitejs/vite/blob/main/packages/plugin-legacy/CHANGELOG.md#400-2023-02-02). This version contains breaking changes: - Support browserslist and update default target ([#&#8203;11318](https://github.com/vitejs/vite/pull/11318)). See [updated `targets` default](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#targets). - Bump modern target to support async generator ([#&#8203;11896](https://github.com/vitejs/vite/pull/11896)). Learn more at [the browsers support docs](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#browsers-that-supports-esm-but-does-not-support-widely-available-features). ##### Features - feat: add experimental option to skip SSR transform ([#&#8203;11411](https://github.com/vitejs/vite/issues/11411)) ([e781ef3](https://github.com/vitejs/vite/commit/e781ef3)), closes [#&#8203;11411](https://github.com/vitejs/vite/issues/11411) - feat: reproducible manifest ([#&#8203;11542](https://github.com/vitejs/vite/issues/11542)) ([efc8979](https://github.com/vitejs/vite/commit/efc8979)), closes [#&#8203;11542](https://github.com/vitejs/vite/issues/11542) - feat: support BROWSER and BROWSER_ARGS in env file ([#&#8203;11513](https://github.com/vitejs/vite/issues/11513)) ([8972868](https://github.com/vitejs/vite/commit/8972868)), closes [#&#8203;11513](https://github.com/vitejs/vite/issues/11513) - feat(cli): clear console by pressing c ([#&#8203;11493](https://github.com/vitejs/vite/issues/11493)) ([#&#8203;11494](https://github.com/vitejs/vite/issues/11494)) ([1ae018f](https://github.com/vitejs/vite/commit/1ae018f)), closes [#&#8203;11493](https://github.com/vitejs/vite/issues/11493) [#&#8203;11494](https://github.com/vitejs/vite/issues/11494) - perf(build): disable rollup cache for builds ([#&#8203;11454](https://github.com/vitejs/vite/issues/11454)) ([580ba7a](https://github.com/vitejs/vite/commit/580ba7a)), closes [#&#8203;11454](https://github.com/vitejs/vite/issues/11454) - perf(resolve): improve file existence check ([#&#8203;11436](https://github.com/vitejs/vite/issues/11436)) ([4a12b89](https://github.com/vitejs/vite/commit/4a12b89)), closes [#&#8203;11436](https://github.com/vitejs/vite/issues/11436) ##### Bug Fixes - fix: await bundle closing ([#&#8203;11873](https://github.com/vitejs/vite/issues/11873)) ([1e6768d](https://github.com/vitejs/vite/commit/1e6768d)), closes [#&#8203;11873](https://github.com/vitejs/vite/issues/11873) - fix: make viteMetadata property of RenderedChunk optional ([#&#8203;11768](https://github.com/vitejs/vite/issues/11768)) ([128f09e](https://github.com/vitejs/vite/commit/128f09e)), closes [#&#8203;11768](https://github.com/vitejs/vite/issues/11768) - fix: replace import.meta.hot with undefined in the production ([#&#8203;11317](https://github.com/vitejs/vite/issues/11317)) ([73afe6d](https://github.com/vitejs/vite/commit/73afe6d)), closes [#&#8203;11317](https://github.com/vitejs/vite/issues/11317) - fix: update CJS interop error message ([#&#8203;11842](https://github.com/vitejs/vite/issues/11842)) ([356ddfe](https://github.com/vitejs/vite/commit/356ddfe)), closes [#&#8203;11842](https://github.com/vitejs/vite/issues/11842) - fix(client): serve client sources next to deployed scripts ([#&#8203;11865](https://github.com/vitejs/vite/issues/11865)) ([63bd261](https://github.com/vitejs/vite/commit/63bd261)), closes [#&#8203;11865](https://github.com/vitejs/vite/issues/11865) - fix(deps): update all non-major dependencies ([#&#8203;11846](https://github.com/vitejs/vite/issues/11846)) ([5d55083](https://github.com/vitejs/vite/commit/5d55083)), closes [#&#8203;11846](https://github.com/vitejs/vite/issues/11846) - fix(esbuild): avoid polluting global namespace while minify is false ([#&#8203;11882](https://github.com/vitejs/vite/issues/11882)) ([c895379](https://github.com/vitejs/vite/commit/c895379)), closes [#&#8203;11882](https://github.com/vitejs/vite/issues/11882) - fix: deep resolve side effects when glob does not contain / ([#&#8203;11807](https://github.com/vitejs/vite/issues/11807)) ([f3a0c3b](https://github.com/vitejs/vite/commit/f3a0c3b)), closes [#&#8203;11807](https://github.com/vitejs/vite/issues/11807) - fix: duplicated sourceMappingURL for worker bundles (fix [#&#8203;11601](https://github.com/vitejs/vite/issues/11601)) ([#&#8203;11602](https://github.com/vitejs/vite/issues/11602)) ([5444781](https://github.com/vitejs/vite/commit/5444781)), closes [#&#8203;11601](https://github.com/vitejs/vite/issues/11601) [#&#8203;11602](https://github.com/vitejs/vite/issues/11602) - fix: emit assets from SSR build ([#&#8203;11430](https://github.com/vitejs/vite/issues/11430)) ([ffbdcdb](https://github.com/vitejs/vite/commit/ffbdcdb)), closes [#&#8203;11430](https://github.com/vitejs/vite/issues/11430) - fix: revert "load sourcemaps alongside modules ([#&#8203;11576](https://github.com/vitejs/vite/issues/11576))" ([#&#8203;11775](https://github.com/vitejs/vite/issues/11775)) ([697dd00](https://github.com/vitejs/vite/commit/697dd00)), closes [#&#8203;11576](https://github.com/vitejs/vite/issues/11576) [#&#8203;11775](https://github.com/vitejs/vite/issues/11775) - fix: scope tracking for shadowing variables in blocks ([#&#8203;11806](https://github.com/vitejs/vite/issues/11806)) ([#&#8203;11811](https://github.com/vitejs/vite/issues/11811)) ([568bdab](https://github.com/vitejs/vite/commit/568bdab)), closes [#&#8203;11806](https://github.com/vitejs/vite/issues/11806) [#&#8203;11811](https://github.com/vitejs/vite/issues/11811) - fix(cli): exit 1 on ctrl+c ([#&#8203;11563](https://github.com/vitejs/vite/issues/11563)) ([fb77411](https://github.com/vitejs/vite/commit/fb77411)), closes [#&#8203;11563](https://github.com/vitejs/vite/issues/11563) - fix(css): insert styles in the same position ([#&#8203;11763](https://github.com/vitejs/vite/issues/11763)) ([d2f1381](https://github.com/vitejs/vite/commit/d2f1381)), closes [#&#8203;11763](https://github.com/vitejs/vite/issues/11763) - fix(esbuild): check server before reload tsconfig ([#&#8203;11747](https://github.com/vitejs/vite/issues/11747)) ([c56b954](https://github.com/vitejs/vite/commit/c56b954)), closes [#&#8203;11747](https://github.com/vitejs/vite/issues/11747) - fix(hmr): hmr websocket failure for custom middleware mode with server.hmr.server ([#&#8203;11487](https://github.com/vitejs/vite/issues/11487)) ([00919bb](https://github.com/vitejs/vite/commit/00919bb)), closes [#&#8203;11487](https://github.com/vitejs/vite/issues/11487) - fix(ssr): load sourcemaps alongside modules (fix: [#&#8203;3288](https://github.com/vitejs/vite/issues/3288)) ([#&#8203;11576](https://github.com/vitejs/vite/issues/11576)) ([dc05e97](https://github.com/vitejs/vite/commit/dc05e97)), closes [#&#8203;3288](https://github.com/vitejs/vite/issues/3288) [#&#8203;11576](https://github.com/vitejs/vite/issues/11576) - refactor: upgrade resolve.exports ([#&#8203;11712](https://github.com/vitejs/vite/issues/11712)) ([00a79ec](https://github.com/vitejs/vite/commit/00a79ec)), closes [#&#8203;11712](https://github.com/vitejs/vite/issues/11712) - fix: remove moment from force interop packages ([#&#8203;11502](https://github.com/vitejs/vite/issues/11502)) ([b89ddd6](https://github.com/vitejs/vite/commit/b89ddd6)), closes [#&#8203;11502](https://github.com/vitejs/vite/issues/11502) - fix(css): fix stale css when reloading with hmr disabled ([#&#8203;10270](https://github.com/vitejs/vite/issues/10270)) ([#&#8203;11506](https://github.com/vitejs/vite/issues/11506)) ([e5807c4](https://github.com/vitejs/vite/commit/e5807c4)), closes [#&#8203;10270](https://github.com/vitejs/vite/issues/10270) [#&#8203;11506](https://github.com/vitejs/vite/issues/11506) - fix(hmr): base default protocol on client source location ([#&#8203;11497](https://github.com/vitejs/vite/issues/11497)) ([167753d](https://github.com/vitejs/vite/commit/167753d)), closes [#&#8203;11497](https://github.com/vitejs/vite/issues/11497) - fix(metadata): expose viteMetadata type ([#&#8203;11511](https://github.com/vitejs/vite/issues/11511)) ([32dee3c](https://github.com/vitejs/vite/commit/32dee3c)), closes [#&#8203;11511](https://github.com/vitejs/vite/issues/11511) - fix(resolve): ensure exports has precedence over mainFields (cherry pick [#&#8203;11234](https://github.com/vitejs/vite/issues/11234)) ([#&#8203;11595](https://github.com/vitejs/vite/issues/11595)) ([691e432](https://github.com/vitejs/vite/commit/691e432)), closes [#&#8203;11234](https://github.com/vitejs/vite/issues/11234) [#&#8203;11595](https://github.com/vitejs/vite/issues/11595) - fix(resolve): use only root package.json as exports source ([#&#8203;11259](https://github.com/vitejs/vite/issues/11259)) ([b9afa6e](https://github.com/vitejs/vite/commit/b9afa6e)), closes [#&#8203;11259](https://github.com/vitejs/vite/issues/11259) - refactor(build): close rollup bundle directly ([#&#8203;11460](https://github.com/vitejs/vite/issues/11460)) ([a802828](https://github.com/vitejs/vite/commit/a802828)), closes [#&#8203;11460](https://github.com/vitejs/vite/issues/11460) ##### Previous Changelogs ##### [4.1.0-beta.2](https://github.com/vitejs/vite/compare/v4.1.0-beta.1....v4.1.0-beta.2) (2023-02-01) See [4.1.0-beta.2 changelog](https://github.com/vitejs/vite/blob/v4.1.0-beta.2/packages/vite/CHANGELOG.md) ##### [4.1.0-beta.1](https://github.com/vitejs/vite/compare/v4.1.0-beta.0....v4.1.0-beta.1) (2023-01-26) See [4.1.0-beta.1 changelog](https://github.com/vitejs/vite/blob/v4.1.0-beta.1/packages/vite/CHANGELOG.md) ##### [4.1.0-beta.0](https://github.com/vitejs/vite/compare/v4.0.3....v4.1.0-beta.0) (2023-01-09) See [4.1.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v4.1.0-beta.0/packages/vite/CHANGELOG.md) ### [`v4.0.5`](https://github.com/vitejs/vite/releases/tag/v4.0.5) [Compare Source](https://github.com/vitejs/vite/compare/v4.0.4...v4.0.5) Please refer to [CHANGELOG.md](https://github.com/vitejs/vite/blob/v4.0.5/packages/vite/CHANGELOG.md) for details. ### [`v4.0.4`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small404-2023-01-03-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.0.3...v4.0.4) - fix: importmap should insert before module preload link ([#&#8203;11492](https://github.com/vitejs/vite/issues/11492)) ([25c64d7](https://github.com/vitejs/vite/commit/25c64d7)), closes [#&#8203;11492](https://github.com/vitejs/vite/issues/11492) - fix: server.host with ipv6 missed \[] (fix [#&#8203;11466](https://github.com/vitejs/vite/issues/11466)) ([#&#8203;11509](https://github.com/vitejs/vite/issues/11509)) ([2c38bae](https://github.com/vitejs/vite/commit/2c38bae)), closes [#&#8203;11466](https://github.com/vitejs/vite/issues/11466) [#&#8203;11509](https://github.com/vitejs/vite/issues/11509) - fix: stop considering parent URLs as public file ([#&#8203;11145](https://github.com/vitejs/vite/issues/11145)) ([568a014](https://github.com/vitejs/vite/commit/568a014)), closes [#&#8203;11145](https://github.com/vitejs/vite/issues/11145) - fix(build): invalidate chunk hash when css changed ([#&#8203;11475](https://github.com/vitejs/vite/issues/11475)) ([7a97a04](https://github.com/vitejs/vite/commit/7a97a04)), closes [#&#8203;11475](https://github.com/vitejs/vite/issues/11475) - fix(cli): ctrl+C no longer kills processes ([#&#8203;11434](https://github.com/vitejs/vite/issues/11434)) ([#&#8203;11518](https://github.com/vitejs/vite/issues/11518)) ([718fc1d](https://github.com/vitejs/vite/commit/718fc1d)), closes [#&#8203;11434](https://github.com/vitejs/vite/issues/11434) [#&#8203;11518](https://github.com/vitejs/vite/issues/11518) - fix(cli): revert ctrl+C no longer kills processes ([#&#8203;11434](https://github.com/vitejs/vite/issues/11434)) ([#&#8203;11518](https://github.com/vitejs/vite/issues/11518)) ([#&#8203;11562](https://github.com/vitejs/vite/issues/11562)) ([3748acb](https://github.com/vitejs/vite/commit/3748acb)), closes [#&#8203;11434](https://github.com/vitejs/vite/issues/11434) [#&#8203;11518](https://github.com/vitejs/vite/issues/11518) [#&#8203;11562](https://github.com/vitejs/vite/issues/11562) - fix(optimizer): check .vite/deps directory existence before removing ([#&#8203;11499](https://github.com/vitejs/vite/issues/11499)) ([1b043f9](https://github.com/vitejs/vite/commit/1b043f9)), closes [#&#8203;11499](https://github.com/vitejs/vite/issues/11499) - fix(ssr): emit js sourcemaps for ssr builds ([#&#8203;11343](https://github.com/vitejs/vite/issues/11343)) ([f12a1ab](https://github.com/vitejs/vite/commit/f12a1ab)), closes [#&#8203;11343](https://github.com/vitejs/vite/issues/11343) - chore: update license ([#&#8203;11476](https://github.com/vitejs/vite/issues/11476)) ([3d346c0](https://github.com/vitejs/vite/commit/3d346c0)), closes [#&#8203;11476](https://github.com/vitejs/vite/issues/11476) - chore(deps): update dependency [@&#8203;rollup/plugin-json](https://github.com/rollup/plugin-json) to v6 ([#&#8203;11553](https://github.com/vitejs/vite/issues/11553)) ([3647d07](https://github.com/vitejs/vite/commit/3647d07)), closes [#&#8203;11553](https://github.com/vitejs/vite/issues/11553) ### [`v4.0.3`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small403-2022-12-21-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.0.2...v4.0.3) - chore(deps): update dependency [@&#8203;rollup/plugin-commonjs](https://github.com/rollup/plugin-commonjs) to v24 ([#&#8203;11420](https://github.com/vitejs/vite/issues/11420)) ([241db16](https://github.com/vitejs/vite/commit/241db16)), closes [#&#8203;11420](https://github.com/vitejs/vite/issues/11420) - chore(typo): fix typo ([#&#8203;11445](https://github.com/vitejs/vite/issues/11445)) ([ed80ea5](https://github.com/vitejs/vite/commit/ed80ea5)), closes [#&#8203;11445](https://github.com/vitejs/vite/issues/11445) - fix(ssr): ignore module exports condition ([#&#8203;11409](https://github.com/vitejs/vite/issues/11409)) ([d3c9c0b](https://github.com/vitejs/vite/commit/d3c9c0b)), closes [#&#8203;11409](https://github.com/vitejs/vite/issues/11409) - feat: allow import.meta.hot define override ([#&#8203;8944](https://github.com/vitejs/vite/issues/8944)) ([857d578](https://github.com/vitejs/vite/commit/857d578)), closes [#&#8203;8944](https://github.com/vitejs/vite/issues/8944) ### [`v4.0.2`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small402-2022-12-18-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.0.1...v4.0.2) - fix: fix the error message in the `toOutputFilePathWithoutRuntime` function ([#&#8203;11367](https://github.com/vitejs/vite/issues/11367)) ([8820f75](https://github.com/vitejs/vite/commit/8820f75)), closes [#&#8203;11367](https://github.com/vitejs/vite/issues/11367) - fix: make `vite optimize` prebundle for dev ([#&#8203;11387](https://github.com/vitejs/vite/issues/11387)) ([b4ced0f](https://github.com/vitejs/vite/commit/b4ced0f)), closes [#&#8203;11387](https://github.com/vitejs/vite/issues/11387) - fix: revert [#&#8203;11290](https://github.com/vitejs/vite/issues/11290) ([#&#8203;11412](https://github.com/vitejs/vite/issues/11412)) ([6587d2f](https://github.com/vitejs/vite/commit/6587d2f)), closes [#&#8203;11290](https://github.com/vitejs/vite/issues/11290) [#&#8203;11412](https://github.com/vitejs/vite/issues/11412) - fix: server and preview open fails to add slash before relative path ([#&#8203;11394](https://github.com/vitejs/vite/issues/11394)) ([57276b7](https://github.com/vitejs/vite/commit/57276b7)), closes [#&#8203;11394](https://github.com/vitejs/vite/issues/11394) - fix: skip applescript when no Chromium browser found (fixes [#&#8203;11205](https://github.com/vitejs/vite/issues/11205)) ([#&#8203;11406](https://github.com/vitejs/vite/issues/11406)) ([274d1f3](https://github.com/vitejs/vite/commit/274d1f3)), closes [#&#8203;11205](https://github.com/vitejs/vite/issues/11205) [#&#8203;11406](https://github.com/vitejs/vite/issues/11406) - fix(deps): update dependency ufo to v1 ([#&#8203;11372](https://github.com/vitejs/vite/issues/11372)) ([4288300](https://github.com/vitejs/vite/commit/4288300)), closes [#&#8203;11372](https://github.com/vitejs/vite/issues/11372) - chore: typecheck create-vite ([#&#8203;11295](https://github.com/vitejs/vite/issues/11295)) ([af86e5b](https://github.com/vitejs/vite/commit/af86e5b)), closes [#&#8203;11295](https://github.com/vitejs/vite/issues/11295) - chore(deps): update dependency convert-source-map to v2 ([#&#8203;10548](https://github.com/vitejs/vite/issues/10548)) ([8dc6528](https://github.com/vitejs/vite/commit/8dc6528)), closes [#&#8203;10548](https://github.com/vitejs/vite/issues/10548) - chore(deps): update dependency mlly to v1 ([#&#8203;11370](https://github.com/vitejs/vite/issues/11370)) ([9662d4d](https://github.com/vitejs/vite/commit/9662d4d)), closes [#&#8203;11370](https://github.com/vitejs/vite/issues/11370) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNS41IiwidXBkYXRlZEluVmVyIjoiMzYuMjUuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
renovate-bot scheduled this pull request to auto merge when all checks succeed 2023-08-03 02:25:25 +00:00
Author
Collaborator

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks
### Branch automerge failure This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead. ___ * Branch has one or more failed status checks
renovate-bot force-pushed renovate/vite-4.x-lockfile from 383c1bd779 to 009ac7465d 2023-08-03 02:27:18 +00:00 Compare
renovate-bot force-pushed renovate/vite-4.x-lockfile from 009ac7465d to 71391bf1e4 2023-08-03 03:27:27 +00:00 Compare
renovate-bot merged commit 71391bf1e4 into master 2023-08-03 03:50:06 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nemunaire/reveil#9
No description provided.