Adkimsm / scadies

A Powerful Dynamic Blog System, Powered By Express.
https://scadies.js.org
6 stars 0 forks source link

chore(deps): update dependency vite to v3.2.4 #53

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

vitejs/vite ### [`v3.2.4`](https://togithub.com/vitejs/vite/releases/tag/v3.2.4) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.2.3...v3.2.4) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.2.4/packages/vite/CHANGELOG.md) for details. ### [`v3.2.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small323-2022-11-07-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.2.2...v3.2.3) - refactor: change style.innerHTML to style.textContent ([#​10801](https://togithub.com/vitejs/vite/issues/10801)) ([8ea71b4](https://togithub.com/vitejs/vite/commit/8ea71b4)), closes [#​10801](https://togithub.com/vitejs/vite/issues/10801) - fix: add `@types/node` as an optional peer dependency ([#​10757](https://togithub.com/vitejs/vite/issues/10757)) ([57916a4](https://togithub.com/vitejs/vite/commit/57916a4)), closes [#​10757](https://togithub.com/vitejs/vite/issues/10757) - fix: transform import.meta.glob when scan JS/TS [#​10634](https://togithub.com/vitejs/vite/issues/10634) ([#​10635](https://togithub.com/vitejs/vite/issues/10635)) ([c53ffec](https://togithub.com/vitejs/vite/commit/c53ffec)), closes [#​10634](https://togithub.com/vitejs/vite/issues/10634) [#​10635](https://togithub.com/vitejs/vite/issues/10635) - fix(css): url() with variable in sass/less (fixes [#​3644](https://togithub.com/vitejs/vite/issues/3644), [#​7651](https://togithub.com/vitejs/vite/issues/7651)) ([#​10741](https://togithub.com/vitejs/vite/issues/10741)) ([fa2e47f](https://togithub.com/vitejs/vite/commit/fa2e47f)), closes [#​3644](https://togithub.com/vitejs/vite/issues/3644) [#​7651](https://togithub.com/vitejs/vite/issues/7651) [#​10741](https://togithub.com/vitejs/vite/issues/10741) - feat: add `vite:afterUpdate` event ([#​9810](https://togithub.com/vitejs/vite/issues/9810)) ([1f57f84](https://togithub.com/vitejs/vite/commit/1f57f84)), closes [#​9810](https://togithub.com/vitejs/vite/issues/9810) - perf: improve `multilineCommentsRE` regex (fix [#​10689](https://togithub.com/vitejs/vite/issues/10689)) ([#​10751](https://togithub.com/vitejs/vite/issues/10751)) ([51ed059](https://togithub.com/vitejs/vite/commit/51ed059)), closes [#​10689](https://togithub.com/vitejs/vite/issues/10689) [#​10751](https://togithub.com/vitejs/vite/issues/10751) - perf: Use only one ps exec to find a Chromium browser opened on Mac OS ([#​10588](https://togithub.com/vitejs/vite/issues/10588)) ([f199e90](https://togithub.com/vitejs/vite/commit/f199e90)), closes [#​10588](https://togithub.com/vitejs/vite/issues/10588) - chore: fix dev build replacing undefined ([#​10740](https://togithub.com/vitejs/vite/issues/10740)) ([1358a3c](https://togithub.com/vitejs/vite/commit/1358a3c)), closes [#​10740](https://togithub.com/vitejs/vite/issues/10740) - chore: remove non used type definitions ([#​10738](https://togithub.com/vitejs/vite/issues/10738)) ([ee8c7a6](https://togithub.com/vitejs/vite/commit/ee8c7a6)), closes [#​10738](https://togithub.com/vitejs/vite/issues/10738) - chore(deps): update dependency [@​rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs) to v23 ([#​10611](https://togithub.com/vitejs/vite/issues/10611)) ([cc4be70](https://togithub.com/vitejs/vite/commit/cc4be70)), closes [#​10611](https://togithub.com/vitejs/vite/issues/10611) - chore(deps): update dependency [@​rollup/plugin-dynamic-import-vars](https://togithub.com/rollup/plugin-dynamic-import-vars) to v2 ([#​10726](https://togithub.com/vitejs/vite/issues/10726)) ([326f782](https://togithub.com/vitejs/vite/commit/326f782)), closes [#​10726](https://togithub.com/vitejs/vite/issues/10726) ### [`v3.2.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small322-2022-10-31-small) [Compare Source](https://togithub.com/vitejs/vite/compare/47a78db49740daee873525de90d0e44b19883771...v3.2.2) - chore: remove src/client from package ([#​10703](https://togithub.com/vitejs/vite/issues/10703)) ([816842e](https://togithub.com/vitejs/vite/commit/816842e)), closes [#​10703](https://togithub.com/vitejs/vite/issues/10703) - chore(deps): update all non-major dependencies ([#​10725](https://togithub.com/vitejs/vite/issues/10725)) ([22cfad8](https://togithub.com/vitejs/vite/commit/22cfad8)), closes [#​10725](https://togithub.com/vitejs/vite/issues/10725) - fix: remove loaded input sourcemap (fixes [#​8411](https://togithub.com/vitejs/vite/issues/8411)) ([#​10705](https://togithub.com/vitejs/vite/issues/10705)) ([eb50e3a](https://togithub.com/vitejs/vite/commit/eb50e3a)), closes [#​8411](https://togithub.com/vitejs/vite/issues/8411) [#​10705](https://togithub.com/vitejs/vite/issues/10705) - fix: tsconfig `jsx` overrides esbuild options, reverts [#​10374](https://togithub.com/vitejs/vite/issues/10374) ([#​10714](https://togithub.com/vitejs/vite/issues/10714)) ([aacf6a4](https://togithub.com/vitejs/vite/commit/aacf6a4)), closes [#​10374](https://togithub.com/vitejs/vite/issues/10374) [#​10714](https://togithub.com/vitejs/vite/issues/10714) - docs(changelog): fix broken url ([#​10692](https://togithub.com/vitejs/vite/issues/10692)) ([f937ccc](https://togithub.com/vitejs/vite/commit/f937ccc)), closes [#​10692](https://togithub.com/vitejs/vite/issues/10692) ### [`v3.2.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small321-2022-10-28-small) [Compare Source](https://togithub.com/vitejs/vite/compare/4198e3428457b648aa622b665035bebe2821c660...47a78db49740daee873525de90d0e44b19883771) - fix: prioritize existing env over .env (fixes [#​10676](https://togithub.com/vitejs/vite/issues/10676)) ([#​10684](https://togithub.com/vitejs/vite/issues/10684)) ([e2ea6af](https://togithub.com/vitejs/vite/commit/e2ea6af)), closes [#​10676](https://togithub.com/vitejs/vite/issues/10676) [#​10684](https://togithub.com/vitejs/vite/issues/10684) - fix: remove picomatch type import (fixes [#​10656](https://togithub.com/vitejs/vite/issues/10656)) ([#​10678](https://togithub.com/vitejs/vite/issues/10678)) ([1128b4d](https://togithub.com/vitejs/vite/commit/1128b4d)), closes [#​10656](https://togithub.com/vitejs/vite/issues/10656) [#​10678](https://togithub.com/vitejs/vite/issues/10678) - fix(config): resolve externalized specifier with internal resolver ([#​10683](https://togithub.com/vitejs/vite/issues/10683)) ([b15d21c](https://togithub.com/vitejs/vite/commit/b15d21c)) - feat: Add support for imba in html scripts ([#​10679](https://togithub.com/vitejs/vite/issues/10679)) ([b823fd6](https://togithub.com/vitejs/vite/commit/b823fd6)), closes [#​10679](https://togithub.com/vitejs/vite/issues/10679) - chore: join URL segments more safely ([#​10590](https://togithub.com/vitejs/vite/issues/10590)) ([675bf07](https://togithub.com/vitejs/vite/commit/675bf07)), closes [#​10590](https://togithub.com/vitejs/vite/issues/10590) - chore: update changelog for 3.2 ([#​10646](https://togithub.com/vitejs/vite/issues/10646)) ([f787a60](https://togithub.com/vitejs/vite/commit/f787a60)), closes [#​10646](https://togithub.com/vitejs/vite/issues/10646) ### [`v3.2.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#​320-2022-10-26) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.8...4198e3428457b648aa622b665035bebe2821c660) ##### Main Changes ##### Multiple Entries for Library Mode Library mode now supports multiple entries: ```js lib: { entry: { primary: 'src/index.ts', secondary: 'src/secondary.ts' }, formats: ['es', 'cjs'] } // => primary.es.js, primary.cjs.js, secondary.es.js, secondary.cjs.js ``` Check out the PR [#​7047](https://togithub.com/vitejs/vite/issues/7047), and the [`build.lib` config docs](https://main.vitejs.dev/config/build-options.html#build-lib) ##### `build.modulePreload` options Vite now allows filtering and modifying module preload dependencies for each entry and async chunk. [`experimental.renderBuiltUrl`](https://vitejs.dev/guide/build.html#advanced-base-options) will also get called for preload asset paths. And `build.modulePreload.resolveDependencies` will be called both for JS dynamic imports preload lists and also for HTML preload lists for chunks imported from entry HTML files. Refer to the PR for more context [#​9938](https://togithub.com/vitejs/vite/issues/9938) and check out the [modulePreload config docs](https://vitejs.dev/config/build-options.html#build-modulepreload). Note: `build.modulePreloadPolyfill` is now deprecated, please migrate to `build.modulePreload.polyfill`. ##### Include Duplicate Assets in the Manifest Laravel and other backends integrations will now get entries for every asset file, even if they have been de-duplicated. See [#​9928](https://togithub.com/vitejs/vite/issues/9928) for more information. ##### Customizable ErrorOverlay You can now customize the ErrorOverlay by using [css parts](https://developer.mozilla.org/en-US/docs/Web/CSS/::part). Check out the PR for more details: [#​10234](https://togithub.com/vitejs/vite/issues/10234). ##### Features - feat(build): experimental copyPublicDir option ([#​10550](https://togithub.com/vitejs/vite/issues/10550)) ([4f4a39f](https://togithub.com/vitejs/vite/commit/4f4a39f)), closes [#​10550](https://togithub.com/vitejs/vite/issues/10550) - feat(css): export preprocessCSS API ([#​10429](https://togithub.com/vitejs/vite/issues/10429)) ([177b427](https://togithub.com/vitejs/vite/commit/177b427)), closes [#​10429](https://togithub.com/vitejs/vite/issues/10429) - feat(preview): support outDir option ([#​10418](https://togithub.com/vitejs/vite/issues/10418)) ([15b90b3](https://togithub.com/vitejs/vite/commit/15b90b3)), closes [#​10418](https://togithub.com/vitejs/vite/issues/10418) - feat: include line and column in error format ([#​10529](https://togithub.com/vitejs/vite/issues/10529)) ([d806c4a](https://togithub.com/vitejs/vite/commit/d806c4a)), closes [#​10529](https://togithub.com/vitejs/vite/issues/10529) - feat: reuse opening tab in chromium browsers when start dev server ([#​10485](https://togithub.com/vitejs/vite/issues/10485)) ([1a2e7a8](https://togithub.com/vitejs/vite/commit/1a2e7a8)), closes [#​10485](https://togithub.com/vitejs/vite/issues/10485) - feat: update esbuild compilation affecting fields ([#​10374](https://togithub.com/vitejs/vite/issues/10374)) ([f542727](https://togithub.com/vitejs/vite/commit/f542727)), closes [#​10374](https://togithub.com/vitejs/vite/issues/10374) - feat(proxy): Include URL of request in proxy errors ([#​10508](https://togithub.com/vitejs/vite/issues/10508)) ([27e2832](https://togithub.com/vitejs/vite/commit/27e2832)), closes [#​10508](https://togithub.com/vitejs/vite/issues/10508) - refactor: delete dependent pre built proxy modules ([#​10427](https://togithub.com/vitejs/vite/issues/10427)) ([b3b388d](https://togithub.com/vitejs/vite/commit/b3b388d)), closes [#​10427](https://togithub.com/vitejs/vite/issues/10427) - feat(server): invalidate module with hmr ([#​10333](https://togithub.com/vitejs/vite/issues/10333)) ([8328011](https://togithub.com/vitejs/vite/commit/8328011)), closes [#​10333](https://togithub.com/vitejs/vite/issues/10333) - feat: build.modulePreload options ([#​9938](https://togithub.com/vitejs/vite/issues/9938)) ([e223f84](https://togithub.com/vitejs/vite/commit/e223f84)), closes [#​9938](https://togithub.com/vitejs/vite/issues/9938) - feat: customize ErrorOverlay ([#​10234](https://togithub.com/vitejs/vite/issues/10234)) ([fe4dc8d](https://togithub.com/vitejs/vite/commit/fe4dc8d)), closes [#​10234](https://togithub.com/vitejs/vite/issues/10234) - feat: dynamic import support ?url and ?worker ([#​8261](https://togithub.com/vitejs/vite/issues/8261)) ([0cb01ca](https://togithub.com/vitejs/vite/commit/0cb01ca)), closes [#​8261](https://togithub.com/vitejs/vite/issues/8261) - feat: include duplicate assets in the manifest ([#​9928](https://togithub.com/vitejs/vite/issues/9928)) ([42ecf37](https://togithub.com/vitejs/vite/commit/42ecf37)), closes [#​9928](https://togithub.com/vitejs/vite/issues/9928) - feat: support import.meta.hot.invalidate ([#​10244](https://togithub.com/vitejs/vite/issues/10244)) ([fb8ab16](https://togithub.com/vitejs/vite/commit/fb8ab16)), closes [#​10244](https://togithub.com/vitejs/vite/issues/10244) - feat: support postcss sugarss ([#​6705](https://togithub.com/vitejs/vite/issues/6705)) ([8ede2f1](https://togithub.com/vitejs/vite/commit/8ede2f1)), closes [#​6705](https://togithub.com/vitejs/vite/issues/6705) - feat(assets): allow `new URL` to resolve package assets ([#​7837](https://togithub.com/vitejs/vite/issues/7837)) ([bafccf5](https://togithub.com/vitejs/vite/commit/bafccf5)), closes [#​7837](https://togithub.com/vitejs/vite/issues/7837) - feat(client): add data-vite-dev-id attribute to style elements ([#​10080](https://togithub.com/vitejs/vite/issues/10080)) ([ea09fde](https://togithub.com/vitejs/vite/commit/ea09fde)), closes [#​10080](https://togithub.com/vitejs/vite/issues/10080) - feat(lib): allow multiple entries ([#​7047](https://togithub.com/vitejs/vite/issues/7047)) ([65a0fad](https://togithub.com/vitejs/vite/commit/65a0fad)), closes [#​7047](https://togithub.com/vitejs/vite/issues/7047) - feat(optimizer): Support bun lockfile format ([#​10288](https://togithub.com/vitejs/vite/issues/10288)) ([931d69b](https://togithub.com/vitejs/vite/commit/931d69b)), closes [#​10288](https://togithub.com/vitejs/vite/issues/10288) - refactor(types): bundle client types ([#​9966](https://togithub.com/vitejs/vite/issues/9966)) ([da632bf](https://togithub.com/vitejs/vite/commit/da632bf)), closes [#​9966](https://togithub.com/vitejs/vite/issues/9966) - refactor(types): simplify type exports ([#​10243](https://togithub.com/vitejs/vite/issues/10243)) ([291174d](https://togithub.com/vitejs/vite/commit/291174d)), closes [#​10243](https://togithub.com/vitejs/vite/issues/10243) - perf: cache compiled glob for `server.fs.deny` ([#​10044](https://togithub.com/vitejs/vite/issues/10044)) ([df560b0](https://togithub.com/vitejs/vite/commit/df560b0)), closes [#​10044](https://togithub.com/vitejs/vite/issues/10044) ##### Bug Fixes - fix: add a warning if css urls not exist during build time (fix [#​9800](https://togithub.com/vitejs/vite/issues/9800)) ([#​10331](https://togithub.com/vitejs/vite/issues/10331)) ([9f268da](https://togithub.com/vitejs/vite/commit/9f268da)), closes [#​9800](https://togithub.com/vitejs/vite/issues/9800) [#​10331](https://togithub.com/vitejs/vite/issues/10331) - fix: increase error overlay z-index ([#​10603](https://togithub.com/vitejs/vite/issues/10603)) ([1157941](https://togithub.com/vitejs/vite/commit/1157941)), closes [#​10603](https://togithub.com/vitejs/vite/issues/10603) - fix: revert es-module-lexer version ([#​10614](https://togithub.com/vitejs/vite/issues/10614)) ([cffe5c9](https://togithub.com/vitejs/vite/commit/cffe5c9)), closes [#​10614](https://togithub.com/vitejs/vite/issues/10614) - fix: when the file path is an absolute path, parsing causes parameter loss ([#​10449](https://togithub.com/vitejs/vite/issues/10449)) ([df86990](https://togithub.com/vitejs/vite/commit/df86990)), closes [#​10449](https://togithub.com/vitejs/vite/issues/10449) - fix(config): resolve build options with fallback ([#​10645](https://togithub.com/vitejs/vite/issues/10645)) ([f7021e3](https://togithub.com/vitejs/vite/commit/f7021e3)), closes [#​10645](https://togithub.com/vitejs/vite/issues/10645) - fix(deps): update all non-major dependencies ([#​10610](https://togithub.com/vitejs/vite/issues/10610)) ([bb95467](https://togithub.com/vitejs/vite/commit/bb95467)), closes [#​10610](https://togithub.com/vitejs/vite/issues/10610) - fix(hmr): cannot reload after missing import on server startup ([#​9534](https://togithub.com/vitejs/vite/issues/9534)) ([#​10602](https://togithub.com/vitejs/vite/issues/10602)) ([ee7c28a](https://togithub.com/vitejs/vite/commit/ee7c28a)), closes [#​9534](https://togithub.com/vitejs/vite/issues/9534) [#​10602](https://togithub.com/vitejs/vite/issues/10602) - fix(css): strip BOM (fixes [#​10043](https://togithub.com/vitejs/vite/issues/10043)) ([#​10577](https://togithub.com/vitejs/vite/issues/10577)) ([e0463bd](https://togithub.com/vitejs/vite/commit/e0463bd)), closes [#​10043](https://togithub.com/vitejs/vite/issues/10043) [#​10577](https://togithub.com/vitejs/vite/issues/10577) - fix(ssr): resolve with isRequire true ([#​10569](https://togithub.com/vitejs/vite/issues/10569)) ([7b81210](https://togithub.com/vitejs/vite/commit/7b81210)), closes [#​10569](https://togithub.com/vitejs/vite/issues/10569) - fix: prefer exports when resolving ([#​10371](https://togithub.com/vitejs/vite/issues/10371)) ([3259006](https://togithub.com/vitejs/vite/commit/3259006)), closes [#​10371](https://togithub.com/vitejs/vite/issues/10371) - fix(config): partial deno support ([#​10446](https://togithub.com/vitejs/vite/issues/10446)) ([c4489ea](https://togithub.com/vitejs/vite/commit/c4489ea)), closes [#​10446](https://togithub.com/vitejs/vite/issues/10446) - fix(config): skip resolve builtin modules ([#​10420](https://togithub.com/vitejs/vite/issues/10420)) ([ecba3f8](https://togithub.com/vitejs/vite/commit/ecba3f8)), closes [#​10420](https://togithub.com/vitejs/vite/issues/10420) - fix(ssr): handle parallel hookNodeResolve ([#​10401](https://togithub.com/vitejs/vite/issues/10401)) ([1a961d9](https://togithub.com/vitejs/vite/commit/1a961d9)), closes [#​10401](https://togithub.com/vitejs/vite/issues/10401) - fix(cli): when the user enters the same command ([#​10474](https://togithub.com/vitejs/vite/issues/10474)) ([2326f4a](https://togithub.com/vitejs/vite/commit/2326f4a)), closes [#​10474](https://togithub.com/vitejs/vite/issues/10474) - fix(config): don't use module condition (`import.meta.resolve`) (fixes [#​10430](https://togithub.com/vitejs/vite/issues/10430)) ([#​10528](https://togithub.com/vitejs/vite/issues/10528)) ([64f19b9](https://togithub.com/vitejs/vite/commit/64f19b9)), closes [#​10430](https://togithub.com/vitejs/vite/issues/10430) [#​10528](https://togithub.com/vitejs/vite/issues/10528) - fix(css): remove `?direct` in id for postcss process ([#​10514](https://togithub.com/vitejs/vite/issues/10514)) ([67e7bf2](https://togithub.com/vitejs/vite/commit/67e7bf2)), closes [#​10514](https://togithub.com/vitejs/vite/issues/10514) - fix(html): allow self closing on non-void elements ([#​10478](https://togithub.com/vitejs/vite/issues/10478)) ([29292af](https://togithub.com/vitejs/vite/commit/29292af)), closes [#​10478](https://togithub.com/vitejs/vite/issues/10478) - fix(legacy): restore entry chunk CSS inlining, reverts [#​9761](https://togithub.com/vitejs/vite/issues/9761) ([#​10496](https://togithub.com/vitejs/vite/issues/10496)) ([9cc808e](https://togithub.com/vitejs/vite/commit/9cc808e)), closes [#​9761](https://togithub.com/vitejs/vite/issues/9761) [#​10496](https://togithub.com/vitejs/vite/issues/10496) - chore: simplify filter plugin code ([#​10459](https://togithub.com/vitejs/vite/issues/10459)) ([5d9b810](https://togithub.com/vitejs/vite/commit/5d9b810)), closes [#​10459](https://togithub.com/vitejs/vite/issues/10459) - chore(deps): update all non-major dependencies ([#​10488](https://togithub.com/vitejs/vite/issues/10488)) ([15aa827](https://togithub.com/vitejs/vite/commit/15aa827)), closes [#​10488](https://togithub.com/vitejs/vite/issues/10488) - chore: update magic-string ([#​10364](https://togithub.com/vitejs/vite/issues/10364)) ([23c9259](https://togithub.com/vitejs/vite/commit/23c9259)), closes [#​10364](https://togithub.com/vitejs/vite/issues/10364) - chore(deps): update all non-major dependencies ([#​10393](https://togithub.com/vitejs/vite/issues/10393)) ([f519423](https://togithub.com/vitejs/vite/commit/f519423)), closes [#​10393](https://togithub.com/vitejs/vite/issues/10393) - chore(deps): update dependency [@​rollup/plugin-alias](https://togithub.com/rollup/plugin-alias) to v4 ([#​10394](https://togithub.com/vitejs/vite/issues/10394)) ([e2b4c8f](https://togithub.com/vitejs/vite/commit/e2b4c8f)), closes [#​10394](https://togithub.com/vitejs/vite/issues/10394) - feat(lib): cjs instead of umd as default format for multiple entries ([#​10315](https://togithub.com/vitejs/vite/issues/10315)) ([07d3fbd](https://togithub.com/vitejs/vite/commit/07d3fbd)), closes [#​10315](https://togithub.com/vitejs/vite/issues/10315) - fix: make client type work with `moduleResolution=node16` ([#​10375](https://togithub.com/vitejs/vite/issues/10375)) ([8c4df1f](https://togithub.com/vitejs/vite/commit/8c4df1f)), closes [#​10375](https://togithub.com/vitejs/vite/issues/10375) - fix(config): don't resolve by module field ([#​10347](https://togithub.com/vitejs/vite/issues/10347)) ([cc1c829](https://togithub.com/vitejs/vite/commit/cc1c829)), closes [#​10347](https://togithub.com/vitejs/vite/issues/10347) - fix(html): handle attrs with prefix (fixes [#​10337](https://togithub.com/vitejs/vite/issues/10337)) ([#​10381](https://togithub.com/vitejs/vite/issues/10381)) ([7b4d6e8](https://togithub.com/vitejs/vite/commit/7b4d6e8)), closes [#​10337](https://togithub.com/vitejs/vite/issues/10337) [#​10381](https://togithub.com/vitejs/vite/issues/10381) - fix(ssr): track var as function scope ([#​10388](https://togithub.com/vitejs/vite/issues/10388)) ([87b48f9](https://togithub.com/vitejs/vite/commit/87b48f9)), closes [#​10388](https://togithub.com/vitejs/vite/issues/10388) - fix: add module types ([#​10299](https://togithub.com/vitejs/vite/issues/10299)) ([0b89dd2](https://togithub.com/vitejs/vite/commit/0b89dd2)), closes [#​10299](https://togithub.com/vitejs/vite/issues/10299) - fix: css order problem in async chunk ([#​9949](https://togithub.com/vitejs/vite/issues/9949)) ([6c7b834](https://togithub.com/vitejs/vite/commit/6c7b834)), closes [#​9949](https://togithub.com/vitejs/vite/issues/9949) - fix: don't duplicate styles with dynamic import (fix [#​9967](https://togithub.com/vitejs/vite/issues/9967)) ([#​9970](https://togithub.com/vitejs/vite/issues/9970)) ([65f97bd](https://togithub.com/vitejs/vite/commit/65f97bd)), closes [#​9967](https://togithub.com/vitejs/vite/issues/9967) [#​9970](https://togithub.com/vitejs/vite/issues/9970) - fix: env variables override ([#​10113](https://togithub.com/vitejs/vite/issues/10113)) ([d619460](https://togithub.com/vitejs/vite/commit/d619460)), closes [#​10113](https://togithub.com/vitejs/vite/issues/10113) - fix: isFromTsImporter flag in worker virtual model ([#​10273](https://togithub.com/vitejs/vite/issues/10273)) ([78f74c9](https://togithub.com/vitejs/vite/commit/78f74c9)), closes [#​10273](https://togithub.com/vitejs/vite/issues/10273) - fix: properly close optimizer on server restart ([#​10028](https://togithub.com/vitejs/vite/issues/10028)) ([a32777f](https://togithub.com/vitejs/vite/commit/a32777f)), closes [#​10028](https://togithub.com/vitejs/vite/issues/10028) - fix: respect `mainFields` when resolving browser/module field (fixes [#​8659](https://togithub.com/vitejs/vite/issues/8659)) ([#​10071](https://togithub.com/vitejs/vite/issues/10071)) ([533d13c](https://togithub.com/vitejs/vite/commit/533d13c)), closes [#​8659](https://togithub.com/vitejs/vite/issues/8659) [#​10071](https://togithub.com/vitejs/vite/issues/10071) - fix: respect resolve.conditions, when resolving browser/require field ([#​9860](https://togithub.com/vitejs/vite/issues/9860)) ([9a83eaf](https://togithub.com/vitejs/vite/commit/9a83eaf)), closes [#​9860](https://togithub.com/vitejs/vite/issues/9860) - fix: support process each out dir when there are two or more ([#​9748](https://togithub.com/vitejs/vite/issues/9748)) ([ee3231c](https://togithub.com/vitejs/vite/commit/ee3231c)), closes [#​9748](https://togithub.com/vitejs/vite/issues/9748) - fix(build): fix resolution algorithm when `build.ssr` is true ([#​9989](https://togithub.com/vitejs/vite/issues/9989)) ([7229251](https://togithub.com/vitejs/vite/commit/7229251)), closes [#​9989](https://togithub.com/vitejs/vite/issues/9989) - fix(config): resolve implicit deps as absolute path ([#​10254](https://togithub.com/vitejs/vite/issues/10254)) ([ec1f3ae](https://togithub.com/vitejs/vite/commit/ec1f3ae)), closes [#​10254](https://togithub.com/vitejs/vite/issues/10254) - fix(css): missing css in lib mode ([#​10185](https://togithub.com/vitejs/vite/issues/10185)) ([e4c1c6d](https://togithub.com/vitejs/vite/commit/e4c1c6d)), closes [#​10185](https://togithub.com/vitejs/vite/issues/10185) - fix(deps): update all non-major dependencies ([#​10160](https://togithub.com/vitejs/vite/issues/10160)) ([6233c83](https://togithub.com/vitejs/vite/commit/6233c83)), closes [#​10160](https://togithub.com/vitejs/vite/issues/10160) - fix(deps): update all non-major dependencies ([#​10316](https://togithub.com/vitejs/vite/issues/10316)) ([a38b450](https://togithub.com/vitejs/vite/commit/a38b450)), closes [#​10316](https://togithub.com/vitejs/vite/issues/10316) - fix(deps): update rollup to `^2.79.1` ([#​10298](https://togithub.com/vitejs/vite/issues/10298)) ([2266d83](https://togithub.com/vitejs/vite/commit/2266d83)), closes [#​10298](https://togithub.com/vitejs/vite/issues/10298) - fix(esbuild): transpile with esnext in dev ([#​10207](https://togithub.com/vitejs/vite/issues/10207)) ([43b7b78](https://togithub.com/vitejs/vite/commit/43b7b78)), closes [#​10207](https://togithub.com/vitejs/vite/issues/10207) - fix(hmr): handle virtual module update ([#​10324](https://togithub.com/vitejs/vite/issues/10324)) ([7c4accb](https://togithub.com/vitejs/vite/commit/7c4accb)), closes [#​10324](https://togithub.com/vitejs/vite/issues/10324) - fix(optimizer): browser field bare import (fix [#​7599](https://togithub.com/vitejs/vite/issues/7599)) ([#​10314](https://togithub.com/vitejs/vite/issues/10314)) ([cba13e8](https://togithub.com/vitejs/vite/commit/cba13e8)), closes [#​7599](https://togithub.com/vitejs/vite/issues/7599) [#​10314](https://togithub.com/vitejs/vite/issues/10314) - fix(sass): reorder sass importers ([#​10101](https://togithub.com/vitejs/vite/issues/10101)) ([a543731](https://togithub.com/vitejs/vite/commit/a543731)), closes [#​10101](https://togithub.com/vitejs/vite/issues/10101) - fix(server): handle appType mpa html fallback ([#​10336](https://togithub.com/vitejs/vite/issues/10336)) ([65dd88b](https://togithub.com/vitejs/vite/commit/65dd88b)), closes [#​10336](https://togithub.com/vitejs/vite/issues/10336) - fix(ssr): correctly track scope ([#​10300](https://togithub.com/vitejs/vite/issues/10300)) ([a60529f](https://togithub.com/vitejs/vite/commit/a60529f)), closes [#​10300](https://togithub.com/vitejs/vite/issues/10300) - fix(worker): support comment in worker constructor option ([#​10226](https://togithub.com/vitejs/vite/issues/10226)) ([66c9058](https://togithub.com/vitejs/vite/commit/66c9058)), closes [#​10226](https://togithub.com/vitejs/vite/issues/10226) - fix(worker): support trailing comma ([#​10211](https://togithub.com/vitejs/vite/issues/10211)) ([0542e7c](https://togithub.com/vitejs/vite/commit/0542e7c)), closes [#​10211](https://togithub.com/vitejs/vite/issues/10211) ##### Previous Changelogs ##### [3.2.0-beta.4](https://togithub.com/vitejs/vite/compare/v3.2.0-beta.3....v3.2.0-beta.4) (2022-10-24) See [3.2.0-beta.4 changelog](https://togithub.com/vitejs/vite/blob/v3.2.0-beta.4/packages/vite/CHANGELOG.md) ##### [3.2.0-beta.3](https://togithub.com/vitejs/vite/compare/v3.2.0-beta.2...v3.2.0-beta.3) (2022-10-20) See [3.2.0-beta.3 changelog](https://togithub.com/vitejs/vite/blob/v3.2.0-beta.4/packages/vite/CHANGELOG.md) ##### [3.2.0-beta.2](https://togithub.com/vitejs/vite/compare/v3.2.0-beta.1...v3.2.0-beta.2) (2022-10-14) See [3.2.0-beta.2 changelog](https://togithub.com/vitejs/vite/blob/v3.2.0-beta.4/packages/vite/CHANGELOG.md) ##### [3.2.0-beta.1](https://togithub.com/vitejs/vite/compare/v3.2.0-beta.0...v3.2.0-beta.1) (2022-10-10) See [3.2.0-beta.1 changelog](https://togithub.com/vitejs/vite/blob/v3.2.0-beta.4/packages/vite/CHANGELOG.md) ##### [3.2.0-beta.0](https://togithub.com/vitejs/vite/compare/v3.1.3...v3.2.0-beta.0) (2022-10-05) See [3.2.0-beta.0 changelog](https://togithub.com/vitejs/vite/blob/v3.2.0-beta.4/packages/vite/CHANGELOG.md) ### [`v3.1.8`](https://togithub.com/vitejs/vite/releases/tag/v3.1.8) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.7...v3.1.8) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.1.8/packages/vite/CHANGELOG.md) for details. ### [`v3.1.7`](https://togithub.com/vitejs/vite/releases/tag/v3.1.7) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.6...v3.1.7) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.1.7/packages/vite/CHANGELOG.md) for details. ### [`v3.1.6`](https://togithub.com/vitejs/vite/releases/tag/v3.1.6) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.5...v3.1.6) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.1.6/packages/vite/CHANGELOG.md) for details. ### [`v3.1.5`](https://togithub.com/vitejs/vite/releases/tag/v3.1.5) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.4...v3.1.5) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.1.5/packages/vite/CHANGELOG.md) for details. ### [`v3.1.4`](https://togithub.com/vitejs/vite/releases/tag/v3.1.4) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.3...v3.1.4) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.1.4/packages/vite/CHANGELOG.md) for details. ### [`v3.1.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small313-2022-09-19-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.2...v3.1.3) - fix: esbuildOutputFromId for symlinked root ([#​10154](https://togithub.com/vitejs/vite/issues/10154)) ([fc5310f](https://togithub.com/vitejs/vite/commit/fc5310f)), closes [#​10154](https://togithub.com/vitejs/vite/issues/10154) - fix(hmr): dedupe virtual modules in module graph ([#​10144](https://togithub.com/vitejs/vite/issues/10144)) ([71f08e7](https://togithub.com/vitejs/vite/commit/71f08e7)), closes [#​10144](https://togithub.com/vitejs/vite/issues/10144) - fix(lib): respect `rollupOptions.input` in lib mode ([#​10116](https://togithub.com/vitejs/vite/issues/10116)) ([c948e7d](https://togithub.com/vitejs/vite/commit/c948e7d)), closes [#​10116](https://togithub.com/vitejs/vite/issues/10116) ### [`v3.1.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small312-2022-09-17-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.1...v3.1.2) - fix: use isOptimizable to ensure version query ([#​10141](https://togithub.com/vitejs/vite/issues/10141)) ([23a51c6](https://togithub.com/vitejs/vite/commit/23a51c6)), closes [#​10141](https://togithub.com/vitejs/vite/issues/10141) ### [`v3.1.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small311-2022-09-15-small) [Compare Source](https://togithub.com/vitejs/vite/compare/b1ad82def57f1e07233d5011489900bb38a8fe6b...v3.1.1) - fix: ensure version query for relative node_modules imports ([#​10016](https://togithub.com/vitejs/vite/issues/10016)) ([1b822d0](https://togithub.com/vitejs/vite/commit/1b822d0)), closes [#​10016](https://togithub.com/vitejs/vite/issues/10016) - fix: no quote on attrs ([#​10117](https://togithub.com/vitejs/vite/issues/10117)) ([f541239](https://togithub.com/vitejs/vite/commit/f541239)), closes [#​10117](https://togithub.com/vitejs/vite/issues/10117) - fix: prevent error overlay style being overridden (fixes [#​9969](https://togithub.com/vitejs/vite/issues/9969)) ([#​9971](https://togithub.com/vitejs/vite/issues/9971)) ([a7706d0](https://togithub.com/vitejs/vite/commit/a7706d0)), closes [#​9969](https://togithub.com/vitejs/vite/issues/9969) [#​9971](https://togithub.com/vitejs/vite/issues/9971) - fix: proxy to secured websocket server ([#​10045](https://togithub.com/vitejs/vite/issues/10045)) ([9de9bc4](https://togithub.com/vitejs/vite/commit/9de9bc4)), closes [#​10045](https://togithub.com/vitejs/vite/issues/10045) - fix: replace white with reset ([#​10104](https://togithub.com/vitejs/vite/issues/10104)) ([5d56e42](https://togithub.com/vitejs/vite/commit/5d56e42)), closes [#​10104](https://togithub.com/vitejs/vite/issues/10104) - fix(deps): update all non-major dependencies ([#​10077](https://togithub.com/vitejs/vite/issues/10077)) ([caf00c8](https://togithub.com/vitejs/vite/commit/caf00c8)), closes [#​10077](https://togithub.com/vitejs/vite/issues/10077) - fix(deps): update all non-major dependencies ([#​9985](https://togithub.com/vitejs/vite/issues/9985)) ([855f2f0](https://togithub.com/vitejs/vite/commit/855f2f0)), closes [#​9985](https://togithub.com/vitejs/vite/issues/9985) - fix(preview): send configured headers ([#​9976](https://togithub.com/vitejs/vite/issues/9976)) ([0d20eae](https://togithub.com/vitejs/vite/commit/0d20eae)), closes [#​9976](https://togithub.com/vitejs/vite/issues/9976) - chore: cleanup old changelogs ([#​10056](https://togithub.com/vitejs/vite/issues/10056)) ([9e65a41](https://togithub.com/vitejs/vite/commit/9e65a41)), closes [#​10056](https://togithub.com/vitejs/vite/issues/10056) - chore: update 3.1 changelog ([#​9994](https://togithub.com/vitejs/vite/issues/9994)) ([44dbcbe](https://togithub.com/vitejs/vite/commit/44dbcbe)), closes [#​9994](https://togithub.com/vitejs/vite/issues/9994) - chore(deps): update [@​rollup/plugin-node-resolve](https://togithub.com/rollup/plugin-node-resolve) to v14 ([#​10078](https://togithub.com/vitejs/vite/issues/10078)) ([3390c87](https://togithub.com/vitejs/vite/commit/3390c87)), closes [#​10078](https://togithub.com/vitejs/vite/issues/10078) - refactor: config hook helper function ([#​9982](https://togithub.com/vitejs/vite/issues/9982)) ([9c1be10](https://togithub.com/vitejs/vite/commit/9c1be10)), closes [#​9982](https://togithub.com/vitejs/vite/issues/9982) - refactor: optimize `async` and `await` in code ([#​9854](https://togithub.com/vitejs/vite/issues/9854)) ([31f5ff3](https://togithub.com/vitejs/vite/commit/31f5ff3)), closes [#​9854](https://togithub.com/vitejs/vite/issues/9854) ### [`v3.1.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#​310-2022-09-05) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.9...b1ad82def57f1e07233d5011489900bb38a8fe6b) ##### Main Changes - Vite now uses [parse5](https://togithub.com/inikulin/parse5), which parses HTML in the same way as the latest browser versions. This migration gives us a more robust HTML story moving forward ([#​9678](https://togithub.com/vitejs/vite/issues/9678)). - Vite now supports using objects as hooks to change execution order ([#​9634](https://togithub.com/vitejs/vite/issues/9634)). Check out the [RFC](https://togithub.com/vitejs/rfcs/discussions/12) and the implementation upstream at [rollup/rollup#​4600](https://togithub.com/rollup/rollup/pull/4600) for details and rationale. ```js import { resolve } from 'node:path'; import { readdir } from 'node:fs/promises'; export default function getFilesOnDisk() { return { name: 'getFilesOnDisk', writeBundle: { // run this hook sequentially even if the hook is parallel sequential: true, // push this hook to the 'post' stage, after all normal hooks order: 'post', // hook implementation async handler({ dir }) { const topLevelFiles = await readdir(resolve(dir)) console.log(topLevelFiles) } } } } ``` Read the updated [Rollup Plugin docs](https://rollupjs.org/guide/en/#build-hooks) for more information. > **Note** > After Vite 3.1, you are no longer going to see `[vite] hot updated` log messages in the browser console. These messages have been moved to the debug channel ([#​8855](https://togithub.com/vitejs/vite/issues/8855)). Check your browser docs to [show debug logs](https://developer.chrome.com/docs/devtools/console/log/#level). ##### Features - feat(css): format error ([#​9909](https://togithub.com/vitejs/vite/issues/9909)) ([632fedf](https://togithub.com/vitejs/vite/commit/632fedf)), closes [#​9909](https://togithub.com/vitejs/vite/issues/9909) - perf: bundle create-vite ([#​9034](https://togithub.com/vitejs/vite/issues/9034)) ([37ac91e](https://togithub.com/vitejs/vite/commit/37ac91e)), closes [#​9034](https://togithub.com/vitejs/vite/issues/9034) - feat: stabilize server.resolvedUrls ([#​9866](https://togithub.com/vitejs/vite/issues/9866)) ([c3f6731](https://togithub.com/vitejs/vite/commit/c3f6731)), closes [#​9866](https://togithub.com/vitejs/vite/issues/9866) - feat(client): use debug channel on hot updates ([#​8855](https://togithub.com/vitejs/vite/issues/8855)) ([0452224](https://togithub.com/vitejs/vite/commit/0452224)), closes [#​8855](https://togithub.com/vitejs/vite/issues/8855) - feat: relax dep browser externals as warning ([#​9837](https://togithub.com/vitejs/vite/issues/9837)) ([71cb374](https://togithub.com/vitejs/vite/commit/71cb374)), closes [#​9837](https://togithub.com/vitejs/vite/issues/9837) - feat: support object style hooks ([#​9634](https://togithub.com/vitejs/vite/issues/9634)) ([757a92f](https://togithub.com/vitejs/vite/commit/757a92f)), closes [#​9634](https://togithub.com/vitejs/vite/issues/9634) - refactor: migrate from vue/compiler-dom to parse5 ([#​9678](https://togithub.com/vitejs/vite/issues/9678)) ([05b3ce6](https://togithub.com/vitejs/vite/commit/05b3ce6)), closes [#​9678](https://togithub.com/vitejs/vite/issues/9678) - refactor: use `server.ssrTransform` ([#​9769](https://togithub.com/vitejs/vite/issues/9769)) ([246a087](https://togithub.com/vitejs/vite/commit/246a087)), closes [#​9769](https://togithub.com/vitejs/vite/issues/9769) - perf: legacy avoid insert the entry module css ([#​9761](https://togithub.com/vitejs/vite/issues/9761)) ([0765ab8](https://togithub.com/vitejs/vite/commit/0765ab8)), closes [#​9761](https://togithub.com/vitejs/vite/issues/9761) ##### Bug Fixes - fix(css): remove css-post plugin sourcemap ([#​9914](https://togithub.com/vitejs/vite/issues/9914)) ([c9521e7](https://togithub.com/vitejs/vite/commit/c9521e7)), closes [#​9914](https://togithub.com/vitejs/vite/issues/9914) - fix(hmr): duplicated modules because of query params mismatch (fixes [#​2255](https://togithub.com/vitejs/vite/issues/2255)) ([#​9773](https://togithub.com/vitejs/vite/issues/9773)) ([86bf776](https://togithub.com/vitejs/vite/commit/86bf776)), closes [#​2255](https://togithub.com/vitejs/vite/issues/2255) [#​9773](https://togithub.com/vitejs/vite/issues/9773) - fix(ssr): enable `inlineDynamicImports` when input has length 1 ([#​9904](https://togithub.com/vitejs/vite/issues/9904)) ([9ac5075](https://togithub.com/vitejs/vite/commit/9ac5075)), closes [#​9904](https://togithub.com/vitejs/vite/issues/9904) - fix(types): mark explicitImportRequired optional and experimental ([#​9962](https://togithub.com/vitejs/vite/issues/9962)) ([7b618f0](https://togithub.com/vitejs/vite/commit/7b618f0)), closes [#​9962](https://togithub.com/vitejs/vite/issues/9962) - fix: bump esbuild to 0.15.6 ([#​9934](https://togithub.com/vitejs/vite/issues/9934)) ([091537c](https://togithub.com/vitejs/vite/commit/091537c)), closes [#​9934](https://togithub.com/vitejs/vite/issues/9934) - refactor(hmr): simplify fetchUpdate ([#​9881](https://togithub.com/vitejs/vite/issues/9881)) ([8872aba](https://togithub.com/vitejs/vite/commit/8872aba)), closes [#​9881](https://togithub.com/vitejs/vite/issues/9881) - fix: ensure version query for direct node_modules imports ([#​9848](https://togithub.com/vitejs/vite/issues/9848)) ([e7712ff](https://togithub.com/vitejs/vite/commit/e7712ff)), closes [#​9848](https://togithub.com/vitejs/vite/issues/9848) - fix: escape glob path ([#​9842](https://togithub.com/vitejs/vite/issues/9842)) ([6be971e](https://togithub.com/vitejs/vite/commit/6be971e)), closes [#​9842](https://togithub.com/vitejs/vite/issues/9842) - fix(build): build project path error ([#​9793](https://togithub.com/vitejs/vite/issues/9793)) ([cc8800a](https://togithub.com/vitejs/vite/commit/cc8800a)), closes [#​9793](https://togithub.com/vitejs/vite/issues/9793) - fix(types): explicitly set Vite hooks' `this` to `void` ([#​9885](https://togithub.com/vitejs/vite/issues/9885)) ([2d2f2e5](https://togithub.com/vitejs/vite/commit/2d2f2e5)), closes [#​9885](https://togithub.com/vitejs/vite/issues/9885) - fix: `completeSystemWrapPlugin` captures `function ()` (fixes [#​9807](https://togithub.com/vitejs/vite/issues/9807)) ([#​9821](https://togithub.com/vitejs/vite/issues/9821)) ([1ee0364](https://togithub.com/vitejs/vite/commit/1ee0364)), closes [#​9807](https://togithub.com/vitejs/vite/issues/9807) [#​9821](https://togithub.com/vitejs/vite/issues/9821) - fix: `injectQuery` break relative path ([#​9760](https://togithub.com/vitejs/vite/issues/9760)) ([61273b2](https://togithub.com/vitejs/vite/commit/61273b2)), closes [#​9760](https://togithub.com/vitejs/vite/issues/9760) - fix: close socket when client error handled ([#​9816](https://togithub.com/vitejs/vite/issues/9816)) ([ba62be4](https://togithub.com/vitejs/vite/commit/ba62be4)), closes [#​9816](https://togithub.com/vitejs/vite/issues/9816) - fix: handle resolve optional peer deps ([#​9321](https://togithub.com/vitejs/vite/issues/9321)) ([eec3886](https://togithub.com/vitejs/vite/commit/eec3886)), closes [#​9321](https://togithub.com/vitejs/vite/issues/9321) - fix: module graph ensureEntryFromUrl based on id ([#​9759](https://togithub.com/vitejs/vite/issues/9759)) ([01857af](https://togithub.com/vitejs/vite/commit/01857af)), closes [#​9759](https://togithub.com/vitejs/vite/issues/9759) - fix: sanitize asset filenames ([#​9737](https://togithub.com/vitejs/vite/issues/9737)) ([2f468bb](https://togithub.com/vitejs/vite/commit/2f468bb)), closes [#​9737](https://togithub.com/vitejs/vite/issues/9737) - fix: Skip inlining Git LFS placeholders (fix [#​9714](https://togithub.com/vitejs/vite/issues/9714)) ([#​9795](https://togithub.com/vitejs/vite/issues/9795)) ([9c7e43d](https://togithub.com/vitejs/vite/commit/9c7e43d)), closes [#​9714](https://togithub.com/vitejs/vite/issues/9714) [#​9795](https://togithub.com/vitejs/vite/issues/9795) - fix(html): move importmap before module scripts ([#​9392](https://togithub.com/vitejs/vite/issues/9392)) ([b386fba](https://togithub.com/vitejs/vite/commit/b386fba)), closes [#​9392](https://togithub.com/vitejs/vite/issues/9392) ##### Previous Changelogs ##### [3.1.0-beta.2](https://togithub.com/vitejs/vite/compare/v3.1.0-beta.1...v3.1.0-beta.2) (2022-09-02) See [3.1.0-beta.2 changelog](https://togithub.com/vitejs/vite/blob/v3.1.0-beta.2/packages/vite/CHANGELOG.md) ##### [3.1.0-beta.1](https://togithub.com/vitejs/vite/compare/v3.1.0-beta.0...v3.1.0-beta.1) (2022-08-29) See [3.1.0-beta.1 changelog](https://togithub.com/vitejs/vite/blob/v3.1.0-beta.1/packages/vite/CHANGELOG.md) ##### [3.1.0-beta.0](https://togithub.com/vitejs/vite/compare/v3.0.0...v3.1.0-beta.0) (2022-08-25) See [3.1.0-beta.0 changelog](https://togithub.com/vitejs/vite/blob/v3.1.0-beta.0/packages/vite/CHANGELOG.md) ### [`v3.0.9`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small309-2022-08-19-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.8...v3.0.9) - feat(ssr): warn if cant analyze dynamic import ([#​9738](https://togithub.com/vitejs/vite/issues/9738)) ([e0ecb80](https://togithub.com/vitejs/vite/commit/e0ecb80)), closes [#​9738](https://togithub.com/vitejs/vite/issues/9738) - fix: dynamic import path contain ../ and its own directory ([#​9350](https://togithub.com/vitejs/vite/issues/9350)) ([c6870f3](https://togithub.com/vitejs/vite/commit/c6870f3)), closes [#​9350](https://togithub.com/vitejs/vite/issues/9350) - fix: legacy no resolve asset urls ([#​9507](https://togithub.com/vitejs/vite/issues/9507)) ([1d6a1eb](https://togithub.com/vitejs/vite/commit/1d6a1eb)), closes [#​9507](https://togithub.com/vitejs/vite/issues/9507) - fix: print error file path when using `rollupOptions.output.dir` (fix [#​9100](https://togithub.com/vitejs/vite/issues/9100)) ([#​9111](https://togithub.com/vitejs/vite/issues/9111)) ([3bffd14](https://togithub.com/vitejs/vite/commit/3bffd14)), closes [#​9100](https://togithub.com/vitejs/vite/issues/9100) [#​9111](https://togithub.com/vitejs/vite/issues/9111) - fix: skip undefined proxy entry ([#​9622](https://togithub.com/vitejs/vite/issues/9622)) ([e396d67](https://togithub.com/vitejs/vite/commit/e396d67)), closes [#​9622](https://togithub.com/vitejs/vite/issues/9622) - fix(hmr): duplicate link tags ([#​9697](https://togithub.com/vitejs/vite/issues/9697)) ([9aa9515](https://togithub.com/vitejs/vite/commit/9aa9515)), closes [#​9697](https://togithub.com/vitejs/vite/issues/9697) - fix(import-analysis): escape quotes ([#​9729](https://togithub.com/vitejs/vite/issues/9729)) ([21515f1](https://togithub.com/vitejs/vite/commit/21515f1)), closes [#​9729](https://togithub.com/vitejs/vite/issues/9729) - docs: fix typos in comments and documentation ([#​9711](https://togithub.com/vitejs/vite/issues/9711)) ([0571232](https://togithub.com/vitejs/vite/commit/0571232)), closes [#​9711](https://togithub.com/vitejs/vite/issues/9711) - docs: update import.meta.glob jsdocs ([#​9709](https://togithub.com/vitejs/vite/issues/9709)) ([15ff3a2](https://togithub.com/vitejs/vite/commit/15ff3a2)), closes [#​9709](https://togithub.com/vitejs/vite/issues/9709) - chore(deps): update all non-major dependencies ([#​9675](https://togithub.com/vitejs/vite/issues/9675)) ([4e56e87](https://togithub.com/vitejs/vite/commit/4e56e87)), closes [#​9675](https://togithub.com/vitejs/vite/issues/9675) - chore(deps): update dependency es-module-lexer to v1 ([#​9576](https://togithub.com/vitejs/vite/issues/9576)) ([1d8613f](https://togithub.com/vitejs/vite/commit/1d8613f)), closes [#​9576](https://togithub.com/vitejs/vite/issues/9576) - perf: avoid `ssrTransform` object allocation ([#​9706](https://togithub.com/vitejs/vite/issues/9706)) ([6e58d9d](https://togithub.com/vitejs/vite/commit/6e58d9d)), closes [#​9706](https://togithub.com/vitejs/vite/issues/9706) ### [`v3.0.8`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small308-2022-08-16-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.7...v3.0.8) - fix: allow ping to http from https website ([#​9561](https://togithub.com/vitejs/vite/issues/9561)) ([f4b4405](https://togithub.com/vitejs/vite/commit/f4b4405)), closes [#​9561](https://togithub.com/vitejs/vite/issues/9561) - fix: use browser field if likely esm (fixes [#​9652](https://togithub.com/vitejs/vite/issues/9652)) ([#​9653](https://togithub.com/vitejs/vite/issues/9653)) ([85e387a](https://togithub.com/vitejs/vite/commit/85e387a)), closes [#​9652](https://togithub.com/vitejs/vite/issues/9652) [#​9653](https://togithub.com/vitejs/vite/issues/9653) - fix(ssr-manifest): filter path undefined when dynamic import ([#​9655](https://togithub.com/vitejs/vite/issues/9655)) ([1478a2f](https://togithub.com/vitejs/vite/commit/1478a2f)), closes [#​9655](https://togithub.com/vitejs/vite/issues/9655) - docs: update WSL2 watch limitation explanation ([#​8939](https://togithub.com/vitejs/vite/issues/8939)) ([afbb87d](https://togithub.com/vitejs/vite/commit/afbb87d)), closes [#​8939](https://togithub.com/vitejs/vite/issues/8939) ### [`v3.0.7`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small307-2022-08-12-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.6...v3.0.7) - chore: fix typo in error message ([#​9645](https://togithub.com/vitejs/vite/issues/9645)) ([7121ee0](https://togithub.com/vitejs/vite/commit/7121ee0)), closes [#​9645](https://togithub.com/vitejs/vite/issues/9645) - fix(config): don't use file url for external files with cjs output ([#​9642](https://togithub.com/vitejs/vite/issues/9642)) ([73ad707](https://togithub.com/vitejs/vite/commit/73ad707)), closes [#​9642](https://togithub.com/vitejs/vite/issues/9642) ### [`v3.0.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small306-2022-08-11-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.5...v3.0.6) - chore: narrow down rollup version ([#​9637](https://togithub.com/vitejs/vite/issues/9637)) ([fcf4d98](https://togithub.com/vitejs/vite/commit/fcf4d98)), closes [#​9637](https://togithub.com/vitejs/vite/issues/9637) - feat: show warning on 431 response ([#​9324](https://togithub.com/vitejs/vite/issues/9324)) ([e8b61bb](https://togithub.com/vitejs/vite/commit/e8b61bb)), closes [#​9324](https://togithub.com/vitejs/vite/issues/9324) - fix: avoid using `import.meta.url` for relative assets if output is not ESM (fixes [#​9297](https://togithub.com/vitejs/vite/issues/9297)) ([#​9381](https://togithub.com/vitejs/vite/issues/9381)) ([6d95225](https://togithub.com/vitejs/vite/commit/6d95225)), closes [#​9297](https://togithub.com/vitejs/vite/issues/9297) [#​9381](https://togithub.com/vitejs/vite/issues/9381) - fix: json HMR (fixes [#​9521](https://togithub.com/vitejs/vite/issues/9521)) ([#​9610](https://togithub.com/vitejs/vite/issues/9610)) ([e45d95f](https://togithub.com/vitejs/vite/commit/e45d95f)), closes [#​9521](https://togithub.com/vitejs/vite/issues/9521) [#​9610](https://togithub.com/vitejs/vite/issues/9610) - fix: legacy no emit worker ([#​9500](https://togithub.com/vitejs/vite/issues/9500)) ([9d0b18b](https://togithub.com/vitejs/vite/commit/9d0b18b)), closes [#​9500](https://togithub.com/vitejs/vite/issues/9500) - fix: use browser field if it is not likely UMD or CJS (fixes [#​9445](https://togithub.com/vitejs/vite/issues/9445)) ([#​9459](https://togithub.com/vitejs/vite/issues/9459)) ([c868e64](https://togithub.com/vitejs/vite/commit/c868e64)), closes [#​9445](https://togithub.com/vitejs/vite/issues/9445) [#​9459](https://togithub.com/vitejs/vite/issues/9459) - fix(optimizer): ignore EACCES errors while scanner (fixes [#​8916](https://togithub.com/vitejs/vite/issues/8916)) ([#​9509](https://togithub.com/vitejs/vite/issues/9509)) ([4e6a77f](https://togithub.com/vitejs/vite/commit/4e6a77f)), closes [#​8916](https://togithub.com/vitejs/vite/issues/8916) [#​9509](https://togithub.com/vitejs/vite/issues/9509) - fix(ssr): rename objectPattern dynamic key (fixes [#​9585](https://togithub.com/vitejs/vite/issues/9585)) ([#​9609](https://togithub.com/vitejs/vite/issues/9609)) ([ee7f78f](https://togithub.com/vitejs/vite/commit/ee7f78f)), closes [#​9585](https://togithub.com/vitejs/vite/issues/9585) [#​9609](https://togithub.com/vitejs/vite/issues/9609) ### [`v3.0.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small305-2022-08-09-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.4...v3.0.5) - fix: allow tree-shake glob eager css in js ([#​9547](https://togithub.com/vitejs/vite/issues/9547)) ([2e309d6](https://togithub.com/vitejs/vite/commit/2e309d6)), closes [#​9547](https://togithub.com/vitejs/vite/issues/9547) - fix: ignore tsconfig target when bundling config ([#​9457](https://togithub.com/vitejs/vite/issues/9457)) ([c5e7895](https://togithub.com/vitejs/vite/commit/c5e7895)), closes [#​9457](https://togithub.com/vitejs/vite/issues/9457) - fix: log worker plugins in debug mode ([#​9553](https://togithub.com/vitejs/vite/issues/9553)) ([c1fa219](https://togithub.com/vitejs/vite/commit/c1fa219)), closes [#​9553](https://togithub.com/vitejs/vite/issues/9553) - fix: tree-shake modulepreload polyfill ([#​9531](https://togithub.com/vitejs/vite/issues/9531)) ([1f11a70](https://togithub.com/vitejs/vite/commit/1f11a70)), closes [#​9531](https://togithub.com/vitejs/vite/issues/9531) - fix: update dep types (fixes [#​9475](https://togithub.com/vitejs/vite/issues/9475)) ([#​9489](https://togithub.com/vitejs/vite/issues/9489)) ([937cecc](https://togithub.com/vitejs/vite/commit/937cecc)), closes [#​9475](https://togithub.com/vitejs/vite/issues/9475) [#​9489](https://togithub.com/vitejs/vite/issues/9489) - fix(build): normalized output log ([#​9594](https://togithub.com/vitejs/vite/issues/9594)) ([8bae103](https://togithub.com/vitejs/vite/commit/8bae103)), closes [#​9594](https://togithub.com/vitejs/vite/issues/9594) - fix(config): try catch unlink after load ([#​9577](https://togithub.com/vitejs/vite/issues/9577)) ([d35a1e2](https://togithub.com/vitejs/vite/commit/d35a1e2)), closes [#​9577](https://togithub.com/vitejs/vite/issues/9577) - fix(config): use file url for import path (fixes [#​9471](https://togithub.com/vitejs/vite/issues/9471)) ([#​9473](https://togithub.com/vitejs/vite/issues/9473)) ([22084a6](https://togithub.com/vitejs/vite/commit/22084a6)), closes [#​9471](https://togithub.com/vitejs/vite/issues/9471) [#​9473](https://togithub.com/vitejs/vite/issues/9473) - fix(deps): update all non-major dependencies ([#​9575](https://togithub.com/vitejs/vite/issues/9575)) ([8071325](https://togithub.com/vitejs/vite/commit/8071325)), closes [#​9575](https://togithub.com/vitejs/vite/issues/9575) - fix(ssr): check root import extension for external ([#​9494](https://togithub.com/vitejs/vite/issues/9494)) ([ff89df5](https://togithub.com/vitejs/vite/commit/ff89df5)), closes [#​9494](https://togithub.com/vitejs/vite/issues/9494) - fix(ssr): use appendRight for import ([#​9554](https://togithub.com/vitejs/vite/issues/9554)) ([dfec6ca](https://togithub.com/vitejs/vite/commit/dfec6ca)), closes [#​9554](https://togithub.com/vitejs/vite/issues/9554) - refactor(resolve): remove commonjs plugin handling ([#​9460](https://togithub.com/vitejs/vite/issues/9460)) ([2042b91](https://togithub.com/vitejs/vite/commit/2042b91)), closes [#​9460](https://togithub.com/vitejs/vite/issues/9460) - chore: init imports var before use ([#​9569](https://togithub.com/vitejs/vite/issues/9569)) ([905b8eb](https://togithub.com/vitejs/vite/commit/905b8eb)), closes [#​9569](https://togithub.com/vitejs/vite/issues/9569) - chore: node prefix lint ([#​9514](https://togithub.com/vitejs/vite/issues/9514)) ([9e9cd23](https://togithub.com/vitejs/vite/commit/9e9cd23)), closes [#​9514](https://togithub.com/vitejs/vite/issues/9514) - chore: tidy up eslint config ([#​9468](https://togithub.com/vitejs/vite/issues/9468)) ([f4addcf](https://togithub.com/vitejs/vite/commit/f4addcf)), closes [#​9468](https://togithub.com/vitejs/vite/issues/9468) - chore(deps): update all non-major dependencies ([#​9478](https://togithub.com/vitejs/vite/issues/9478)) ([c530d16](https://togithub.com/vitejs/vite/commit/c530d16)), closes [#​9478](https://togithub.com/vitejs/vite/issues/9478) - docs: fix incomplete comment ([#​9466](https://togithub.com/vitejs/vite/issues/9466)) ([5169c51](https://togithub.com/vitejs/vite/commit/5169c51)), closes [#​9466](https://togithub.com/vitejs/vite/issues/9466) - feat(ssr): debug failed node resolve ([#​9432](https://togithub.com/vitejs/vite/issues/9432)) ([364aae1](https://togithub.com/vitejs/vite/commit/364aae1)), closes [#​9432](https://togithub.com/vitejs/vite/issues/9432)

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.



This PR has been generated by Mend Renovate. View repository job log here.