chore(deps): update dependency vite to v4 #41

Merged
nemunaire merged 1 commits from renovate/vite-4.x into master 2022-12-11 22:16:09 +00:00
Contributor

This PR contains the following updates:

Package Type Update Change
vite (source) dependencies major ^3.0.4 -> ^4.0.0

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the logs for more information.


Release Notes

vitejs/vite

v4.0.0

Compare Source

Vite 4 Announcement Cover Image

Read the announcement blog post: Announcing Vite 4

Quick links:

Docs in other languages:

Main Changes

This major is smaller in scope compared to Vite 3, with the main objective of upgrading to Rollup 3. We've worked with the ecosystem to ensure a smooth upgrade path for this new major.

Rollup 3

Vite is now using Rollup 3, which allowed us to simplify Vite's internal asset handling and has many improvements. See the Rollup 3 release notes here.

Framework Plugins out of the Vite core monorepo

@vitejs/plugin-vue and @vitejs/plugin-react have been part of Vite core monorepo since the first versions of Vite. This helped us to get a close feedback loop when making changes as we were getting both Core and the plugins tested and released together. With vite-ecosystem-ci we can get this feedback with these plugins developed on independent repositories, so from Vite 4, they have been moved out of the Vite core monorepo. This is meaningful for Vite's framework-agnostic story, and will allow us to build independent teams to maintain each of the plugins. If you have bugs to report or features to request, please create issues on the new repositories moving forward: vitejs/vite-plugin-vue and vitejs/vite-plugin-react.

New React plugin using SWC during development

SWC is now a mature replacement for Babel, especially in the context of React projects. SWC's React Fast Refresh implementation is a lot faster than Babel, and for some projects, it is now a better alternative. From Vite 4, two plugins are available for React projects with different tradeoffs. We believe that both approaches are worth supporting at this point, and we'll continue to explore improvements to both plugins in the future.

@​vitejs/plugin-react

@​vitejs/plugin-react is a plugin that uses esbuild and Babel, achieving fast HMR with a small package footprint and the flexibility of being able to use the babel transform pipeline.

@​vitejs/plugin-react-swc (new)

@​vitejs/plugin-react-swc is a new plugin that uses esbuild during build, but replaces Babel with SWC during development. For big projects that don't require non-standard React extensions, cold start and Hot Module Replacement (HMR) can be significantly faster.

Compatibility

The modern browser build now targets safari14 by default for wider ES2020 compatibility (https://github.com/vitejs/vite/issues/9063). This means that modern builds can now use BigInt and that the nullish coallessing operator isn't transpiled anymore. If you need to support older browsers, you can add @vitejs/plugin-legacy as usual.

Importing CSS as a string

In Vite 3, importing the default export of a .css file could introduce a double loading of CSS.

import cssString from './global.css';

This double loading could occur since a .css file will be emitted and it's likely that the CSS string will also be used by the application code — for example, injected by the framework runtime. From Vite 4, the .css default export has been deprecated. The ?inline query suffix modifier needs to be used in this case, as that doesn't emit the imported .css styles.

import stuff from './global.css?inline'
Other features
  • Support for patch-package when pre bundling dependencies (#​10286)
  • Cleaner build logs output (#​10895) and switch to kB to align with browser dev tools (#​10982)
  • Improved error messages during SSR (#​11156)
Features
Bug Fixes
Previous Changelogs
4.0.0-beta.7 (2022-12-08)

See 4.0.0-beta.7 changelog

4.0.0-beta.6 (2022-12-08)

See 4.0.0-beta.6 changelog

4.0.0-beta.5 (2022-12-08)

See 4.0.0-beta.5 changelog

4.0.0-beta.4 (2022-12-07)

See 4.0.0-beta.4 changelog

4.0.0-beta.3 (2022-12-07)

See 4.0.0-beta.3 changelog

4.0.0-beta.2 (2022-12-07)

See 4.0.0-beta.2 changelog

4.0.0-beta.1 (2022-12-06)

See 4.0.0-beta.1 changelog

4.0.0-beta.0 (2022-12-05)

See 4.0.0-beta.0 changelog

4.0.0-alpha.6 (2022-11-30)

See 4.0.0-alpha.6 changelog

4.0.0-alpha.5 (2022-11-22)

See 4.0.0-alpha.5 changelog

4.0.0-alpha.4 (2022-11-17)

See 4.0.0-alpha.4 changelog

4.0.0-alpha.3 (2022-11-15)

See 4.0.0-alpha.3 changelog

4.0.0-alpha.2 (2022-11-13)

See 4.0.0-alpha.2 changelog

4.0.0-alpha.1 (2022-11-12)

See 4.0.0-alpha.1 changelog

4.0.0-alpha.0 (2022-11-07)

See 4.0.0-alpha.0 changelog

v3.2.5

Compare Source

v3.2.4

Compare Source

v3.2.3

Compare Source

v3.2.2

Compare Source

v3.2.1

Compare Source

v3.2.0

Compare Source

Main Changes
Multiple Entries for Library Mode

Library mode now supports multiple entries:

  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, and the build.lib config docs

build.modulePreload options

Vite now allows filtering and modifying module preload dependencies for each entry and async chunk. experimental.renderBuiltUrl 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 and check out the modulePreload config docs. 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 for more information.

Customizable ErrorOverlay

You can now customize the ErrorOverlay by using css parts. Check out the PR for more details: #​10234.

Features
Bug Fixes
Previous Changelogs
3.2.0-beta.4 (2022-10-24)

See 3.2.0-beta.4 changelog

3.2.0-beta.3 (2022-10-20)

See 3.2.0-beta.3 changelog

3.2.0-beta.2 (2022-10-14)

See 3.2.0-beta.2 changelog

3.2.0-beta.1 (2022-10-10)

See 3.2.0-beta.1 changelog

3.2.0-beta.0 (2022-10-05)

See 3.2.0-beta.0 changelog

v3.1.8

Compare Source

Please refer to CHANGELOG.md for details.

v3.1.7

Compare Source

Please refer to CHANGELOG.md for details.

v3.1.6

Compare Source

Please refer to CHANGELOG.md for details.

v3.1.5

Compare Source

Please refer to CHANGELOG.md for details.

v3.1.4

Compare Source

Please refer to CHANGELOG.md for details.

v3.1.3

Compare Source

v3.1.2

Compare Source

v3.1.1

Compare Source

v3.1.0

Compare Source

Main Changes
  • Vite now uses 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).
  • Vite now supports using objects as hooks to change execution order (#​9634). Check out the RFC and the implementation upstream at rollup/rollup#​4600 for details and rationale.
      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 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). Check your browser docs to show debug logs.

Features
Bug Fixes
Previous Changelogs
3.1.0-beta.2 (2022-09-02)

See 3.1.0-beta.2 changelog

3.1.0-beta.1 (2022-08-29)

See 3.1.0-beta.1 changelog

3.1.0-beta.0 (2022-08-25)

See 3.1.0-beta.0 changelog

v3.0.9

Compare Source

v3.0.8

Compare Source

v3.0.7

Compare Source

v3.0.6

Compare Source

v3.0.5

Compare Source


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 | Type | Update | Change | |---|---|---|---| | [vite](https://github.com/vitejs/vite/tree/main/#readme) ([source](https://github.com/vitejs/vite)) | dependencies | major | [`^3.0.4` -> `^4.0.0`](https://renovatebot.com/diffs/npm/vite/3.0.4/4.0.0) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the logs for more information. --- ### Release Notes <details> <summary>vitejs/vite</summary> ### [`v4.0.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#&#8203;400-2022-12-09) [Compare Source](https://github.com/vitejs/vite/compare/v3.2.5...566d4c7bb51cf56550a5374ee46e1e1cbea1cf1f) ![Vite 4 Announcement Cover Image](/og-image-announcing-vite4.png) Read the announcement blog post: [Announcing Vite 4](https://vitejs.dev/blog/announcing-vite4) Quick links: - [Docs](https://vitejs.dev) - [Migration Guide](https://vitejs.dev/guide/migration) Docs in other languages: - [简体中文](https://cn.vitejs.dev/) - [日本語](https://ja.vitejs.dev/) - [Español](https://es.vitejs.dev/) ##### Main Changes This major is smaller in scope compared to Vite 3, with the main objective of upgrading to Rollup 3. We've worked with the ecosystem to ensure a smooth upgrade path for this new major. ##### Rollup 3 Vite is now using [Rollup 3](https://github.com/vitejs/vite/issues/9870), which allowed us to simplify Vite's internal asset handling and has many improvements. See the [Rollup 3 release notes here](https://github.com/rollup/rollup/releases). ##### Framework Plugins out of the Vite core monorepo [`@vitejs/plugin-vue`](https://github.com/vitejs/vite-plugin-vue) and [`@vitejs/plugin-react`](https://github.com/vitejs/vite-plugin-react) have been part of Vite core monorepo since the first versions of Vite. This helped us to get a close feedback loop when making changes as we were getting both Core and the plugins tested and released together. With [vite-ecosystem-ci](https://github.com/vitejs/vite-ecosystem-ci) we can get this feedback with these plugins developed on independent repositories, so from Vite 4, [they have been moved out of the Vite core monorepo](https://github.com/vitejs/vite/pull/11158). This is meaningful for Vite's framework-agnostic story, and will allow us to build independent teams to maintain each of the plugins. If you have bugs to report or features to request, please create issues on the new repositories moving forward: [`vitejs/vite-plugin-vue`](https://github.com/vitejs/vite-plugin-vue) and [`vitejs/vite-plugin-react`](https://github.com/vitejs/vite-plugin-react). ##### New React plugin using SWC during development [SWC](https://swc.rs/) is now a mature replacement for [Babel](https://babeljs.io/), especially in the context of React projects. SWC's React Fast Refresh implementation is a lot faster than Babel, and for some projects, it is now a better alternative. From Vite 4, two plugins are available for React projects with different tradeoffs. We believe that both approaches are worth supporting at this point, and we'll continue to explore improvements to both plugins in the future. ##### [@&#8203;vitejs/plugin-react](https://github.com/vitejs/plugin-react) [@&#8203;vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react) is a plugin that uses esbuild and Babel, achieving fast HMR with a small package footprint and the flexibility of being able to use the babel transform pipeline. ##### [@&#8203;vitejs/plugin-react-swc](https://github.com/vitejs/plugin-react-swc) (new) [@&#8203;vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) is a new plugin that uses esbuild during build, but replaces Babel with SWC during development. For big projects that don't require non-standard React extensions, cold start and Hot Module Replacement (HMR) can be significantly faster. ##### Compatibility The modern browser build now targets `safari14` by default for wider ES2020 compatibility (https://github.com/vitejs/vite/issues/9063). This means that modern builds can now use [`BigInt`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) and that the [nullish coallessing operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing) isn't transpiled anymore. If you need to support older browsers, you can add [`@vitejs/plugin-legacy`](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy) as usual. ##### Importing CSS as a string In Vite 3, importing the default export of a `.css` file could introduce a double loading of CSS. ```ts import cssString from './global.css'; ``` This double loading could occur since a `.css` file will be emitted and it's likely that the CSS string will also be used by the application code — for example, injected by the framework runtime. From Vite 4, the `.css` default export [has been deprecated](https://github.com/vitejs/vite/issues/11094). The `?inline` query suffix modifier needs to be used in this case, as that doesn't emit the imported `.css` styles. ```ts import stuff from './global.css?inline' ``` ##### Other features - Support for patch-package when pre bundling dependencies ([#&#8203;10286](https://github.com/vitejs/vite/issues/10286)) - Cleaner build logs output ([#&#8203;10895](https://github.com/vitejs/vite/issues/10895)) and switch to `kB` to align with browser dev tools ([#&#8203;10982](https://github.com/vitejs/vite/issues/10982)) - Improved error messages during SSR ([#&#8203;11156](https://github.com/vitejs/vite/issues/11156)) ##### Features - feat: add CLI keyboard shortcuts ([#&#8203;11228](https://github.com/vitejs/vite/issues/11228)) ([87973f1](https://github.com/vitejs/vite/commit/87973f1)), closes [#&#8203;11228](https://github.com/vitejs/vite/issues/11228) - feat: export error message generator ([#&#8203;11155](https://github.com/vitejs/vite/issues/11155)) ([493ba1e](https://github.com/vitejs/vite/commit/493ba1e)), closes [#&#8203;11155](https://github.com/vitejs/vite/issues/11155) - feat(node/plugins): esbuild options ([#&#8203;11049](https://github.com/vitejs/vite/issues/11049)) ([735b98b](https://github.com/vitejs/vite/commit/735b98b)), closes [#&#8203;11049](https://github.com/vitejs/vite/issues/11049) - feat: improve the error message of `expand` ([#&#8203;11141](https://github.com/vitejs/vite/issues/11141)) ([825c793](https://github.com/vitejs/vite/commit/825c793)), closes [#&#8203;11141](https://github.com/vitejs/vite/issues/11141) - feat: update [@&#8203;types/node](https://github.com/types/node) to v18 ([#&#8203;11195](https://github.com/vitejs/vite/issues/11195)) ([4ec9f53](https://github.com/vitejs/vite/commit/4ec9f53)), closes [#&#8203;11195](https://github.com/vitejs/vite/issues/11195) - feat(client)!: remove never implemented hot.decline ([#&#8203;11036](https://github.com/vitejs/vite/issues/11036)) ([e257e3b](https://github.com/vitejs/vite/commit/e257e3b)), closes [#&#8203;11036](https://github.com/vitejs/vite/issues/11036) - feat!: support `safari14` by default for wider ES2020 compatibility ([#&#8203;9063](https://github.com/vitejs/vite/issues/9063)) ([3cc65d7](https://github.com/vitejs/vite/commit/3cc65d7)), closes [#&#8203;9063](https://github.com/vitejs/vite/issues/9063) - feat!: support multiline values in env files ([#&#8203;10826](https://github.com/vitejs/vite/issues/10826)) ([606e60d](https://github.com/vitejs/vite/commit/606e60d)), closes [#&#8203;10826](https://github.com/vitejs/vite/issues/10826) - feat(ssr)!: remove dedupe and mode support for CJS ([#&#8203;11101](https://github.com/vitejs/vite/issues/11101)) ([3090564](https://github.com/vitejs/vite/commit/3090564)), closes [#&#8203;11101](https://github.com/vitejs/vite/issues/11101) - feat: align object interface for `transformIndexHtml` hook ([#&#8203;9669](https://github.com/vitejs/vite/issues/9669)) ([1db52bf](https://github.com/vitejs/vite/commit/1db52bf)), closes [#&#8203;9669](https://github.com/vitejs/vite/issues/9669) - feat(build): cleaner logs output ([#&#8203;10895](https://github.com/vitejs/vite/issues/10895)) ([7d24b5f](https://github.com/vitejs/vite/commit/7d24b5f)), closes [#&#8203;10895](https://github.com/vitejs/vite/issues/10895) - feat(css): deprecate css default export ([#&#8203;11094](https://github.com/vitejs/vite/issues/11094)) ([01dee1b](https://github.com/vitejs/vite/commit/01dee1b)), closes [#&#8203;11094](https://github.com/vitejs/vite/issues/11094) - feat(optimizer): support patch-package ([#&#8203;10286](https://github.com/vitejs/vite/issues/10286)) ([4fb7ad0](https://github.com/vitejs/vite/commit/4fb7ad0)), closes [#&#8203;10286](https://github.com/vitejs/vite/issues/10286) - feat(build): Use kB in build reporter ([#&#8203;10982](https://github.com/vitejs/vite/issues/10982)) ([b57acfa](https://github.com/vitejs/vite/commit/b57acfa)), closes [#&#8203;10982](https://github.com/vitejs/vite/issues/10982) - feat(css): upgrade postcss-modules ([#&#8203;10987](https://github.com/vitejs/vite/issues/10987)) ([892916d](https://github.com/vitejs/vite/commit/892916d)), closes [#&#8203;10987](https://github.com/vitejs/vite/issues/10987) - feat(hmr): invalidate message ([#&#8203;10946](https://github.com/vitejs/vite/issues/10946)) ([0d73473](https://github.com/vitejs/vite/commit/0d73473)), closes [#&#8203;10946](https://github.com/vitejs/vite/issues/10946) - feat(client): expose hot.prune API ([#&#8203;11016](https://github.com/vitejs/vite/issues/11016)) ([f40c18d](https://github.com/vitejs/vite/commit/f40c18d)), closes [#&#8203;11016](https://github.com/vitejs/vite/issues/11016) - feat(hmr): deduplicate paths and join them with commas ([#&#8203;10891](https://github.com/vitejs/vite/issues/10891)) ([967299a](https://github.com/vitejs/vite/commit/967299a)), closes [#&#8203;10891](https://github.com/vitejs/vite/issues/10891) - feat: base without trailing slash ([#&#8203;10723](https://github.com/vitejs/vite/issues/10723)) ([8f87282](https://github.com/vitejs/vite/commit/8f87282)), closes [#&#8203;10723](https://github.com/vitejs/vite/issues/10723) - feat: handle static assets in case-sensitive manner ([#&#8203;10475](https://github.com/vitejs/vite/issues/10475)) ([c1368c3](https://github.com/vitejs/vite/commit/c1368c3)), closes [#&#8203;10475](https://github.com/vitejs/vite/issues/10475) - feat(cli): build --profile ([#&#8203;10719](https://github.com/vitejs/vite/issues/10719)) ([9c808cd](https://github.com/vitejs/vite/commit/9c808cd)), closes [#&#8203;10719](https://github.com/vitejs/vite/issues/10719) - feat(env): support dotenv-expand to contains process env ([#&#8203;10370](https://github.com/vitejs/vite/issues/10370)) ([d5fe92c](https://github.com/vitejs/vite/commit/d5fe92c)), closes [#&#8203;10370](https://github.com/vitejs/vite/issues/10370) - feat!: set esbuild default charset to utf8 ([#&#8203;10753](https://github.com/vitejs/vite/issues/10753)) ([4caf4b6](https://github.com/vitejs/vite/commit/4caf4b6)), closes [#&#8203;10753](https://github.com/vitejs/vite/issues/10753) - feat: rollup 3 ([#&#8203;9870](https://github.com/vitejs/vite/issues/9870)) ([beb7166](https://github.com/vitejs/vite/commit/beb7166)), closes [#&#8203;9870](https://github.com/vitejs/vite/issues/9870) ##### Bug Fixes - fix: add `\0` to virtual files id ([#&#8203;11261](https://github.com/vitejs/vite/issues/11261)) ([02cdfa9](https://github.com/vitejs/vite/commit/02cdfa9)), closes [#&#8203;11261](https://github.com/vitejs/vite/issues/11261) - fix: skip shortcuts on non-tty stdin ([#&#8203;11263](https://github.com/vitejs/vite/issues/11263)) ([9602686](https://github.com/vitejs/vite/commit/9602686)), closes [#&#8203;11263](https://github.com/vitejs/vite/issues/11263) - fix(ssr): skip rewriting stack trace if it's already rewritten (fixes [#&#8203;11037](https://github.com/vitejs/vite/issues/11037)) ([#&#8203;11070](https://github.com/vitejs/vite/issues/11070)) ([feb8ce0](https://github.com/vitejs/vite/commit/feb8ce0)), closes [#&#8203;11037](https://github.com/vitejs/vite/issues/11037) [#&#8203;11070](https://github.com/vitejs/vite/issues/11070) - refactor(optimizer): await depsOptimizer.scanProcessing ([#&#8203;11251](https://github.com/vitejs/vite/issues/11251)) ([fa64c8e](https://github.com/vitejs/vite/commit/fa64c8e)), closes [#&#8203;11251](https://github.com/vitejs/vite/issues/11251) - fix: improve CLI shortcuts help display ([#&#8203;11247](https://github.com/vitejs/vite/issues/11247)) ([bb235b2](https://github.com/vitejs/vite/commit/bb235b2)), closes [#&#8203;11247](https://github.com/vitejs/vite/issues/11247) - fix: less promises for scanning and await with allSettled ([#&#8203;11245](https://github.com/vitejs/vite/issues/11245)) ([45b170e](https://github.com/vitejs/vite/commit/45b170e)), closes [#&#8203;11245](https://github.com/vitejs/vite/issues/11245) - fix(optimizer): escape entrypoints when running scanner ([#&#8203;11250](https://github.com/vitejs/vite/issues/11250)) ([b61894e](https://github.com/vitejs/vite/commit/b61894e)), closes [#&#8203;11250](https://github.com/vitejs/vite/issues/11250) - fix: await scanner ([#&#8203;11242](https://github.com/vitejs/vite/issues/11242)) ([52a6732](https://github.com/vitejs/vite/commit/52a6732)), closes [#&#8203;11242](https://github.com/vitejs/vite/issues/11242) - fix(css): fix css lang regex ([#&#8203;11237](https://github.com/vitejs/vite/issues/11237)) ([a55d0b3](https://github.com/vitejs/vite/commit/a55d0b3)), closes [#&#8203;11237](https://github.com/vitejs/vite/issues/11237) - fix: don't print urls on restart with default port ([#&#8203;11230](https://github.com/vitejs/vite/issues/11230)) ([5aaecb6](https://github.com/vitejs/vite/commit/5aaecb6)), closes [#&#8203;11230](https://github.com/vitejs/vite/issues/11230) - fix: serialize bundleWorkerEntry ([#&#8203;11218](https://github.com/vitejs/vite/issues/11218)) ([306bed0](https://github.com/vitejs/vite/commit/306bed0)), closes [#&#8203;11218](https://github.com/vitejs/vite/issues/11218) - fix(config): resolve dynamic import as esm ([#&#8203;11220](https://github.com/vitejs/vite/issues/11220)) ([f8c1ed0](https://github.com/vitejs/vite/commit/f8c1ed0)), closes [#&#8203;11220](https://github.com/vitejs/vite/issues/11220) - fix(env): prevent env expand on process.env ([#&#8203;11213](https://github.com/vitejs/vite/issues/11213)) ([d4a1e2b](https://github.com/vitejs/vite/commit/d4a1e2b)), closes [#&#8203;11213](https://github.com/vitejs/vite/issues/11213) - fix: add type for function localsConvention value ([#&#8203;11152](https://github.com/vitejs/vite/issues/11152)) ([c9274b4](https://github.com/vitejs/vite/commit/c9274b4)), closes [#&#8203;11152](https://github.com/vitejs/vite/issues/11152) - fix: cacheDir should be ignored from watch ([#&#8203;10242](https://github.com/vitejs/vite/issues/10242)) ([75dbca2](https://github.com/vitejs/vite/commit/75dbca2)), closes [#&#8203;10242](https://github.com/vitejs/vite/issues/10242) - fix: don't check .yarn/patches for computing dependencies hash ([#&#8203;11168](https://github.com/vitejs/vite/issues/11168)) ([65bcccf](https://github.com/vitejs/vite/commit/65bcccf)), closes [#&#8203;11168](https://github.com/vitejs/vite/issues/11168) - fix: formatError() outside rollup context ([#&#8203;11156](https://github.com/vitejs/vite/issues/11156)) ([2aee2eb](https://github.com/vitejs/vite/commit/2aee2eb)), closes [#&#8203;11156](https://github.com/vitejs/vite/issues/11156) - fix: Revert "fix: missing js sourcemaps with rewritten imports broke debugging ([#&#8203;7767](https://github.com/vitejs/vite/issues/7767)) ([#&#8203;9476](https://github.com/vitejs/vite/issues/9476))" ([#&#8203;11](https://github.com/vitejs/vite/issues/11) ([fdc6f3a](https://github.com/vitejs/vite/commit/fdc6f3a)), closes [#&#8203;7767](https://github.com/vitejs/vite/issues/7767) [#&#8203;9476](https://github.com/vitejs/vite/issues/9476) [#&#8203;11144](https://github.com/vitejs/vite/issues/11144) - fix: Dev SSR dep optimization + respect optimizeDeps.include ([#&#8203;11123](https://github.com/vitejs/vite/issues/11123)) ([515caa5](https://github.com/vitejs/vite/commit/515caa5)), closes [#&#8203;11123](https://github.com/vitejs/vite/issues/11123) - fix: export preprocessCSS in CJS ([#&#8203;11067](https://github.com/vitejs/vite/issues/11067)) ([793255d](https://github.com/vitejs/vite/commit/793255d)), closes [#&#8203;11067](https://github.com/vitejs/vite/issues/11067) - fix: glob import parsing ([#&#8203;10949](https://github.com/vitejs/vite/issues/10949)) ([#&#8203;11056](https://github.com/vitejs/vite/issues/11056)) ([ac2cfd6](https://github.com/vitejs/vite/commit/ac2cfd6)), closes [#&#8203;10949](https://github.com/vitejs/vite/issues/10949) [#&#8203;11056](https://github.com/vitejs/vite/issues/11056) - fix: import.meta.env and process.env undefined variable replacement (fix [#&#8203;8663](https://github.com/vitejs/vite/issues/8663)) ([#&#8203;10958](https://github.com/vitejs/vite/issues/10958)) ([3e0cd3d](https://github.com/vitejs/vite/commit/3e0cd3d)), closes [#&#8203;8663](https://github.com/vitejs/vite/issues/8663) [#&#8203;10958](https://github.com/vitejs/vite/issues/10958) - fix: missing js sourcemaps with rewritten imports broke debugging ([#&#8203;7767](https://github.com/vitejs/vite/issues/7767)) ([#&#8203;9476](https://github.com/vitejs/vite/issues/9476)) ([3fa96f6](https://github.com/vitejs/vite/commit/3fa96f6)), closes [#&#8203;7767](https://github.com/vitejs/vite/issues/7767) [#&#8203;9476](https://github.com/vitejs/vite/issues/9476) - fix: preserve default export from externalized packages (fixes [#&#8203;10258](https://github.com/vitejs/vite/issues/10258)) ([#&#8203;10406](https://github.com/vitejs/vite/issues/10406)) ([88b001b](https://github.com/vitejs/vite/commit/88b001b)), closes [#&#8203;10258](https://github.com/vitejs/vite/issues/10258) [#&#8203;10406](https://github.com/vitejs/vite/issues/10406) - fix: reset global regex before match ([#&#8203;11132](https://github.com/vitejs/vite/issues/11132)) ([db8df14](https://github.com/vitejs/vite/commit/db8df14)), closes [#&#8203;11132](https://github.com/vitejs/vite/issues/11132) - fix(css): handle environment with browser globals ([#&#8203;11079](https://github.com/vitejs/vite/issues/11079)) ([e92d025](https://github.com/vitejs/vite/commit/e92d025)), closes [#&#8203;11079](https://github.com/vitejs/vite/issues/11079) - fix(deps): update all non-major dependencies ([#&#8203;11091](https://github.com/vitejs/vite/issues/11091)) ([073a4bf](https://github.com/vitejs/vite/commit/073a4bf)), closes [#&#8203;11091](https://github.com/vitejs/vite/issues/11091) - fix(esbuild): handle inline sourcemap option ([#&#8203;11120](https://github.com/vitejs/vite/issues/11120)) ([4c85c0a](https://github.com/vitejs/vite/commit/4c85c0a)), closes [#&#8203;11120](https://github.com/vitejs/vite/issues/11120) - fix(importGlob): don't warn when CSS default import is not used ([#&#8203;11121](https://github.com/vitejs/vite/issues/11121)) ([97f8b4d](https://github.com/vitejs/vite/commit/97f8b4d)), closes [#&#8203;11121](https://github.com/vitejs/vite/issues/11121) - fix(importGlob): preserve line count for sourcemap ([#&#8203;11122](https://github.com/vitejs/vite/issues/11122)) ([14980a1](https://github.com/vitejs/vite/commit/14980a1)), closes [#&#8203;11122](https://github.com/vitejs/vite/issues/11122) - fix(importGlob): warn on default import css ([#&#8203;11103](https://github.com/vitejs/vite/issues/11103)) ([fc0d9e3](https://github.com/vitejs/vite/commit/fc0d9e3)), closes [#&#8203;11103](https://github.com/vitejs/vite/issues/11103) - fix(plugin-vue): support scss/sass/less... hmr on custom template languages (fix [#&#8203;10677](https://github.com/vitejs/vite/issues/10677)) ([#&#8203;10844](https://github.com/vitejs/vite/issues/10844)) ([d413848](https://github.com/vitejs/vite/commit/d413848)), closes [#&#8203;10677](https://github.com/vitejs/vite/issues/10677) [#&#8203;10844](https://github.com/vitejs/vite/issues/10844) - fix(ssr): preserve require for external node ([#&#8203;11057](https://github.com/vitejs/vite/issues/11057)) ([1ec0176](https://github.com/vitejs/vite/commit/1ec0176)), closes [#&#8203;11057](https://github.com/vitejs/vite/issues/11057) - fix(worker): disable build reporter plugin when bundling worker ([#&#8203;11058](https://github.com/vitejs/vite/issues/11058)) ([7b72069](https://github.com/vitejs/vite/commit/7b72069)), closes [#&#8203;11058](https://github.com/vitejs/vite/issues/11058) - fix!: make `NODE_ENV` more predictable ([#&#8203;10996](https://github.com/vitejs/vite/issues/10996)) ([8148af7](https://github.com/vitejs/vite/commit/8148af7)), closes [#&#8203;10996](https://github.com/vitejs/vite/issues/10996) - fix(config)!: support development build ([#&#8203;11045](https://github.com/vitejs/vite/issues/11045)) ([8b3d656](https://github.com/vitejs/vite/commit/8b3d656)), closes [#&#8203;11045](https://github.com/vitejs/vite/issues/11045) - refactor: use function to eval worker and glob options ([#&#8203;10999](https://github.com/vitejs/vite/issues/10999)) ([f4c1264](https://github.com/vitejs/vite/commit/f4c1264)), closes [#&#8203;10999](https://github.com/vitejs/vite/issues/10999) - refactor(client): simplify fetchUpdate code ([#&#8203;11004](https://github.com/vitejs/vite/issues/11004)) ([f777b55](https://github.com/vitejs/vite/commit/f777b55)), closes [#&#8203;11004](https://github.com/vitejs/vite/issues/11004) - fix(html): transform relative path with long base in /index.html ([#&#8203;10990](https://github.com/vitejs/vite/issues/10990)) ([752740c](https://github.com/vitejs/vite/commit/752740c)), closes [#&#8203;10990](https://github.com/vitejs/vite/issues/10990) - fix(mpa): support mpa fallback ([#&#8203;10985](https://github.com/vitejs/vite/issues/10985)) ([61165f0](https://github.com/vitejs/vite/commit/61165f0)), closes [#&#8203;10985](https://github.com/vitejs/vite/issues/10985) - feat: align default chunk and asset file names with rollup ([#&#8203;10927](https://github.com/vitejs/vite/issues/10927)) ([cc2adb3](https://github.com/vitejs/vite/commit/cc2adb3)), closes [#&#8203;10927](https://github.com/vitejs/vite/issues/10927) - fix: make `addWatchFile()` work (fix [#&#8203;7024](https://github.com/vitejs/vite/issues/7024)) ([#&#8203;9723](https://github.com/vitejs/vite/issues/9723)) ([34db08b](https://github.com/vitejs/vite/commit/34db08b)), closes [#&#8203;7024](https://github.com/vitejs/vite/issues/7024) [#&#8203;9723](https://github.com/vitejs/vite/issues/9723) - fix(config): exclude config.assetsInclude empty array ([#&#8203;10941](https://github.com/vitejs/vite/issues/10941)) ([18c71dc](https://github.com/vitejs/vite/commit/18c71dc)), closes [#&#8203;10941](https://github.com/vitejs/vite/issues/10941) - fix(ssr): skip optional peer dep resolve ([#&#8203;10593](https://github.com/vitejs/vite/issues/10593)) ([0a69985](https://github.com/vitejs/vite/commit/0a69985)), closes [#&#8203;10593](https://github.com/vitejs/vite/issues/10593) - perf: regexp perf issues, refactor regexp stylistic issues ([#&#8203;10905](https://github.com/vitejs/vite/issues/10905)) ([fc007df](https://github.com/vitejs/vite/commit/fc007df)), closes [#&#8203;10905](https://github.com/vitejs/vite/issues/10905) - refactor: move CSS emitFile logic closer to rollup ([#&#8203;10909](https://github.com/vitejs/vite/issues/10909)) ([92a206b](https://github.com/vitejs/vite/commit/92a206b)), closes [#&#8203;10909](https://github.com/vitejs/vite/issues/10909) - refactor: use rollup hashing when emitting assets ([#&#8203;10878](https://github.com/vitejs/vite/issues/10878)) ([78c77be](https://github.com/vitejs/vite/commit/78c77be)), closes [#&#8203;10878](https://github.com/vitejs/vite/issues/10878) - fix: don't throw on malformed URLs ([#&#8203;10901](https://github.com/vitejs/vite/issues/10901)) ([feb9b10](https://github.com/vitejs/vite/commit/feb9b10)), closes [#&#8203;10901](https://github.com/vitejs/vite/issues/10901) - fix: gracefully handle forbidden filesystem access ([#&#8203;10793](https://github.com/vitejs/vite/issues/10793)) ([92637a2](https://github.com/vitejs/vite/commit/92637a2)), closes [#&#8203;10793](https://github.com/vitejs/vite/issues/10793) - fix(types): remove `null` from `CSSModulesOptions.localsConvention` ([#&#8203;10904](https://github.com/vitejs/vite/issues/10904)) ([a9978dd](https://github.com/vitejs/vite/commit/a9978dd)), closes [#&#8203;10904](https://github.com/vitejs/vite/issues/10904) - refactor(types)!: remove facade type files ([#&#8203;10903](https://github.com/vitejs/vite/issues/10903)) ([a309058](https://github.com/vitejs/vite/commit/a309058)), closes [#&#8203;10903](https://github.com/vitejs/vite/issues/10903) - fix: inconsistent handling of non-ASCII `base` in `resolveConfig` and dev server ([#&#8203;10247](https://github.com/vitejs/vite/issues/10247)) ([16e4123](https://github.com/vitejs/vite/commit/16e4123)), closes [#&#8203;10247](https://github.com/vitejs/vite/issues/10247) - fix: prevent cache on optional package resolve ([#&#8203;10812](https://github.com/vitejs/vite/issues/10812)) ([c599a2e](https://github.com/vitejs/vite/commit/c599a2e)), closes [#&#8203;10812](https://github.com/vitejs/vite/issues/10812) - fix: relocated logger to respect config. ([#&#8203;10787](https://github.com/vitejs/vite/issues/10787)) ([52e64eb](https://github.com/vitejs/vite/commit/52e64eb)), closes [#&#8203;10787](https://github.com/vitejs/vite/issues/10787) - fix: throw missing name error only when 'umd' or 'iife' are used ([#&#8203;9886](https://github.com/vitejs/vite/issues/9886)) ([b8aa825](https://github.com/vitejs/vite/commit/b8aa825)), closes [#&#8203;9886](https://github.com/vitejs/vite/issues/9886) - fix(deps): update all non-major dependencies ([#&#8203;10804](https://github.com/vitejs/vite/issues/10804)) ([f686afa](https://github.com/vitejs/vite/commit/f686afa)), closes [#&#8203;10804](https://github.com/vitejs/vite/issues/10804) - fix(ssr): improve missing file error ([#&#8203;10880](https://github.com/vitejs/vite/issues/10880)) ([5451a34](https://github.com/vitejs/vite/commit/5451a34)), closes [#&#8203;10880](https://github.com/vitejs/vite/issues/10880) ##### Previous Changelogs ##### [4.0.0-beta.7](https://github.com/vitejs/vite/compare/v4.0.0-beta.6....v4.0.0-beta.7) (2022-12-08) See [4.0.0-beta.7 changelog](https://github.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md) ##### [4.0.0-beta.6](https://github.com/vitejs/vite/compare/v4.0.0-beta.5....v4.0.0-beta.6) (2022-12-08) See [4.0.0-beta.6 changelog](https://github.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md) ##### [4.0.0-beta.5](https://github.com/vitejs/vite/compare/v4.0.0-beta.4....v4.0.0-beta.5) (2022-12-08) See [4.0.0-beta.5 changelog](https://github.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md) ##### [4.0.0-beta.4](https://github.com/vitejs/vite/compare/v4.0.0-beta.3....v4.0.0-beta.4) (2022-12-07) See [4.0.0-beta.4 changelog](https://github.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md) ##### [4.0.0-beta.3](https://github.com/vitejs/vite/compare/v4.0.0-beta.2....v4.0.0-beta.3) (2022-12-07) See [4.0.0-beta.3 changelog](https://github.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md) ##### [4.0.0-beta.2](https://github.com/vitejs/vite/compare/v4.0.0-beta.1....v4.0.0-beta.2) (2022-12-07) See [4.0.0-beta.2 changelog](https://github.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md) ##### [4.0.0-beta.1](https://github.com/vitejs/vite/compare/v4.0.0-beta.0....v4.0.0-beta.1) (2022-12-06) See [4.0.0-beta.1 changelog](https://github.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md) ##### [4.0.0-beta.0](https://github.com/vitejs/vite/compare/v4.0.0-alpha.6....v4.0.0-beta.0) (2022-12-05) See [4.0.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md) ##### [4.0.0-alpha.6](https://github.com/vitejs/vite/compare/v4.0.0-alpha.5....v4.0.0-alpha.6) (2022-11-30) See [4.0.0-alpha.6 changelog](https://github.com/vitejs/vite/blob/v4.0.0-alpha.6/packages/vite/CHANGELOG.md) ##### [4.0.0-alpha.5](https://github.com/vitejs/vite/compare/v4.0.0-alpha.5....v4.0.0-alpha.5) (2022-11-22) See [4.0.0-alpha.5 changelog](https://github.com/vitejs/vite/blob/v4.0.0-alpha.5/packages/vite/CHANGELOG.md) ##### [4.0.0-alpha.4](https://github.com/vitejs/vite/compare/v4.0.0-alpha.3....v4.0.0-alpha.4) (2022-11-17) See [4.0.0-alpha.4 changelog](https://github.com/vitejs/vite/blob/v4.0.0-alpha.4/packages/vite/CHANGELOG.md) ##### [4.0.0-alpha.3](https://github.com/vitejs/vite/compare/v4.0.0-alpha.2....v4.0.0-alpha.3) (2022-11-15) See [4.0.0-alpha.3 changelog](https://github.com/vitejs/vite/blob/v4.0.0-alpha.3/packages/vite/CHANGELOG.md) ##### [4.0.0-alpha.2](https://github.com/vitejs/vite/compare/v4.0.0-alpha.1....v4.0.0-alpha.2) (2022-11-13) See [4.0.0-alpha.2 changelog](https://github.com/vitejs/vite/blob/v4.0.0-alpha.2/packages/vite/CHANGELOG.md) ##### [4.0.0-alpha.1](https://github.com/vitejs/vite/compare/v4.0.0-alpha.0....v4.0.0-alpha.1) (2022-11-12) See [4.0.0-alpha.1 changelog](https://github.com/vitejs/vite/blob/v4.0.0-alpha.1/packages/vite/CHANGELOG.md) ##### [4.0.0-alpha.0](https://github.com/vitejs/vite/compare/v3.2.5....v4.0.0-alpha.0) (2022-11-07) See [4.0.0-alpha.0 changelog](https://github.com/vitejs/vite/blob/v4.0.0-alpha.0/packages/vite/CHANGELOG.md) ### [`v3.2.5`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small325-2022-12-05-small) [Compare Source](https://github.com/vitejs/vite/compare/v3.2.4...v3.2.5) - chore: cherry pick more v4 bug fixes to v3 ([#&#8203;11189](https://github.com/vitejs/vite/issues/11189)) ([eba9b42](https://github.com/vitejs/vite/commit/eba9b42)), closes [#&#8203;11189](https://github.com/vitejs/vite/issues/11189) [#&#8203;10949](https://github.com/vitejs/vite/issues/10949) [#&#8203;11056](https://github.com/vitejs/vite/issues/11056) [#&#8203;8663](https://github.com/vitejs/vite/issues/8663) [#&#8203;10958](https://github.com/vitejs/vite/issues/10958) [#&#8203;11120](https://github.com/vitejs/vite/issues/11120) [#&#8203;11122](https://github.com/vitejs/vite/issues/11122) [#&#8203;11123](https://github.com/vitejs/vite/issues/11123) [#&#8203;11132](https://github.com/vitejs/vite/issues/11132) - chore: cherry pick v4 bug fix to v3 ([#&#8203;11110](https://github.com/vitejs/vite/issues/11110)) ([c93a526](https://github.com/vitejs/vite/commit/c93a526)), closes [#&#8203;11110](https://github.com/vitejs/vite/issues/11110) [#&#8203;10941](https://github.com/vitejs/vite/issues/10941) [#&#8203;10987](https://github.com/vitejs/vite/issues/10987) [#&#8203;10985](https://github.com/vitejs/vite/issues/10985) [#&#8203;11067](https://github.com/vitejs/vite/issues/11067) - fix: relocated logger to respect config. ([#&#8203;10787](https://github.com/vitejs/vite/issues/10787)) ([#&#8203;10967](https://github.com/vitejs/vite/issues/10967)) ([bc3b5a9](https://github.com/vitejs/vite/commit/bc3b5a9)), closes [#&#8203;10787](https://github.com/vitejs/vite/issues/10787) [#&#8203;10967](https://github.com/vitejs/vite/issues/10967) ### [`v3.2.4`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small324-2022-11-15-small) [Compare Source](https://github.com/vitejs/vite/compare/v3.2.3...v3.2.4) - fix: prevent cache on optional package resolve (v3) ([#&#8203;10812](https://github.com/vitejs/vite/issues/10812)) ([#&#8203;10845](https://github.com/vitejs/vite/issues/10845)) ([3ba45b9](https://github.com/vitejs/vite/commit/3ba45b9)), closes [#&#8203;10812](https://github.com/vitejs/vite/issues/10812) [#&#8203;10845](https://github.com/vitejs/vite/issues/10845) - fix(ssr): skip optional peer dep resolve (v3) ([#&#8203;10593](https://github.com/vitejs/vite/issues/10593)) ([#&#8203;10931](https://github.com/vitejs/vite/issues/10931)) ([7f59dcf](https://github.com/vitejs/vite/commit/7f59dcf)), closes [#&#8203;10593](https://github.com/vitejs/vite/issues/10593) [#&#8203;10931](https://github.com/vitejs/vite/issues/10931) [#&#8203;10593](https://github.com/vitejs/vite/issues/10593) ### [`v3.2.3`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small323-2022-11-07-small) [Compare Source](https://github.com/vitejs/vite/compare/v3.2.2...v3.2.3) - refactor: change style.innerHTML to style.textContent ([#&#8203;10801](https://github.com/vitejs/vite/issues/10801)) ([8ea71b4](https://github.com/vitejs/vite/commit/8ea71b4)), closes [#&#8203;10801](https://github.com/vitejs/vite/issues/10801) - fix: add `@types/node` as an optional peer dependency ([#&#8203;10757](https://github.com/vitejs/vite/issues/10757)) ([57916a4](https://github.com/vitejs/vite/commit/57916a4)), closes [#&#8203;10757](https://github.com/vitejs/vite/issues/10757) - fix: transform import.meta.glob when scan JS/TS [#&#8203;10634](https://github.com/vitejs/vite/issues/10634) ([#&#8203;10635](https://github.com/vitejs/vite/issues/10635)) ([c53ffec](https://github.com/vitejs/vite/commit/c53ffec)), closes [#&#8203;10634](https://github.com/vitejs/vite/issues/10634) [#&#8203;10635](https://github.com/vitejs/vite/issues/10635) - fix(css): url() with variable in sass/less (fixes [#&#8203;3644](https://github.com/vitejs/vite/issues/3644), [#&#8203;7651](https://github.com/vitejs/vite/issues/7651)) ([#&#8203;10741](https://github.com/vitejs/vite/issues/10741)) ([fa2e47f](https://github.com/vitejs/vite/commit/fa2e47f)), closes [#&#8203;3644](https://github.com/vitejs/vite/issues/3644) [#&#8203;7651](https://github.com/vitejs/vite/issues/7651) [#&#8203;10741](https://github.com/vitejs/vite/issues/10741) - feat: add `vite:afterUpdate` event ([#&#8203;9810](https://github.com/vitejs/vite/issues/9810)) ([1f57f84](https://github.com/vitejs/vite/commit/1f57f84)), closes [#&#8203;9810](https://github.com/vitejs/vite/issues/9810) - perf: improve `multilineCommentsRE` regex (fix [#&#8203;10689](https://github.com/vitejs/vite/issues/10689)) ([#&#8203;10751](https://github.com/vitejs/vite/issues/10751)) ([51ed059](https://github.com/vitejs/vite/commit/51ed059)), closes [#&#8203;10689](https://github.com/vitejs/vite/issues/10689) [#&#8203;10751](https://github.com/vitejs/vite/issues/10751) - perf: Use only one ps exec to find a Chromium browser opened on Mac OS ([#&#8203;10588](https://github.com/vitejs/vite/issues/10588)) ([f199e90](https://github.com/vitejs/vite/commit/f199e90)), closes [#&#8203;10588](https://github.com/vitejs/vite/issues/10588) - chore: fix dev build replacing undefined ([#&#8203;10740](https://github.com/vitejs/vite/issues/10740)) ([1358a3c](https://github.com/vitejs/vite/commit/1358a3c)), closes [#&#8203;10740](https://github.com/vitejs/vite/issues/10740) - chore: remove non used type definitions ([#&#8203;10738](https://github.com/vitejs/vite/issues/10738)) ([ee8c7a6](https://github.com/vitejs/vite/commit/ee8c7a6)), closes [#&#8203;10738](https://github.com/vitejs/vite/issues/10738) - chore(deps): update dependency [@&#8203;rollup/plugin-commonjs](https://github.com/rollup/plugin-commonjs) to v23 ([#&#8203;10611](https://github.com/vitejs/vite/issues/10611)) ([cc4be70](https://github.com/vitejs/vite/commit/cc4be70)), closes [#&#8203;10611](https://github.com/vitejs/vite/issues/10611) - chore(deps): update dependency [@&#8203;rollup/plugin-dynamic-import-vars](https://github.com/rollup/plugin-dynamic-import-vars) to v2 ([#&#8203;10726](https://github.com/vitejs/vite/issues/10726)) ([326f782](https://github.com/vitejs/vite/commit/326f782)), closes [#&#8203;10726](https://github.com/vitejs/vite/issues/10726) ### [`v3.2.2`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small322-2022-10-31-small) [Compare Source](https://github.com/vitejs/vite/compare/47a78db49740daee873525de90d0e44b19883771...v3.2.2) - chore: remove src/client from package ([#&#8203;10703](https://github.com/vitejs/vite/issues/10703)) ([816842e](https://github.com/vitejs/vite/commit/816842e)), closes [#&#8203;10703](https://github.com/vitejs/vite/issues/10703) - chore(deps): update all non-major dependencies ([#&#8203;10725](https://github.com/vitejs/vite/issues/10725)) ([22cfad8](https://github.com/vitejs/vite/commit/22cfad8)), closes [#&#8203;10725](https://github.com/vitejs/vite/issues/10725) - fix: remove loaded input sourcemap (fixes [#&#8203;8411](https://github.com/vitejs/vite/issues/8411)) ([#&#8203;10705](https://github.com/vitejs/vite/issues/10705)) ([eb50e3a](https://github.com/vitejs/vite/commit/eb50e3a)), closes [#&#8203;8411](https://github.com/vitejs/vite/issues/8411) [#&#8203;10705](https://github.com/vitejs/vite/issues/10705) - fix: tsconfig `jsx` overrides esbuild options, reverts [#&#8203;10374](https://github.com/vitejs/vite/issues/10374) ([#&#8203;10714](https://github.com/vitejs/vite/issues/10714)) ([aacf6a4](https://github.com/vitejs/vite/commit/aacf6a4)), closes [#&#8203;10374](https://github.com/vitejs/vite/issues/10374) [#&#8203;10714](https://github.com/vitejs/vite/issues/10714) - docs(changelog): fix broken url ([#&#8203;10692](https://github.com/vitejs/vite/issues/10692)) ([f937ccc](https://github.com/vitejs/vite/commit/f937ccc)), closes [#&#8203;10692](https://github.com/vitejs/vite/issues/10692) ### [`v3.2.1`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small321-2022-10-28-small) [Compare Source](https://github.com/vitejs/vite/compare/4198e3428457b648aa622b665035bebe2821c660...47a78db49740daee873525de90d0e44b19883771) - fix: prioritize existing env over .env (fixes [#&#8203;10676](https://github.com/vitejs/vite/issues/10676)) ([#&#8203;10684](https://github.com/vitejs/vite/issues/10684)) ([e2ea6af](https://github.com/vitejs/vite/commit/e2ea6af)), closes [#&#8203;10676](https://github.com/vitejs/vite/issues/10676) [#&#8203;10684](https://github.com/vitejs/vite/issues/10684) - fix: remove picomatch type import (fixes [#&#8203;10656](https://github.com/vitejs/vite/issues/10656)) ([#&#8203;10678](https://github.com/vitejs/vite/issues/10678)) ([1128b4d](https://github.com/vitejs/vite/commit/1128b4d)), closes [#&#8203;10656](https://github.com/vitejs/vite/issues/10656) [#&#8203;10678](https://github.com/vitejs/vite/issues/10678) - fix(config): resolve externalized specifier with internal resolver ([#&#8203;10683](https://github.com/vitejs/vite/issues/10683)) ([b15d21c](https://github.com/vitejs/vite/commit/b15d21c)) - feat: Add support for imba in html scripts ([#&#8203;10679](https://github.com/vitejs/vite/issues/10679)) ([b823fd6](https://github.com/vitejs/vite/commit/b823fd6)), closes [#&#8203;10679](https://github.com/vitejs/vite/issues/10679) - chore: join URL segments more safely ([#&#8203;10590](https://github.com/vitejs/vite/issues/10590)) ([675bf07](https://github.com/vitejs/vite/commit/675bf07)), closes [#&#8203;10590](https://github.com/vitejs/vite/issues/10590) - chore: update changelog for 3.2 ([#&#8203;10646](https://github.com/vitejs/vite/issues/10646)) ([f787a60](https://github.com/vitejs/vite/commit/f787a60)), closes [#&#8203;10646](https://github.com/vitejs/vite/issues/10646) ### [`v3.2.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#&#8203;320-2022-10-26) [Compare Source](https://github.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 [#&#8203;7047](https://github.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 [#&#8203;9938](https://github.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 [#&#8203;9928](https://github.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: [#&#8203;10234](https://github.com/vitejs/vite/issues/10234). ##### Features - feat(build): experimental copyPublicDir option ([#&#8203;10550](https://github.com/vitejs/vite/issues/10550)) ([4f4a39f](https://github.com/vitejs/vite/commit/4f4a39f)), closes [#&#8203;10550](https://github.com/vitejs/vite/issues/10550) - feat(css): export preprocessCSS API ([#&#8203;10429](https://github.com/vitejs/vite/issues/10429)) ([177b427](https://github.com/vitejs/vite/commit/177b427)), closes [#&#8203;10429](https://github.com/vitejs/vite/issues/10429) - feat(preview): support outDir option ([#&#8203;10418](https://github.com/vitejs/vite/issues/10418)) ([15b90b3](https://github.com/vitejs/vite/commit/15b90b3)), closes [#&#8203;10418](https://github.com/vitejs/vite/issues/10418) - feat: include line and column in error format ([#&#8203;10529](https://github.com/vitejs/vite/issues/10529)) ([d806c4a](https://github.com/vitejs/vite/commit/d806c4a)), closes [#&#8203;10529](https://github.com/vitejs/vite/issues/10529) - feat: reuse opening tab in chromium browsers when start dev server ([#&#8203;10485](https://github.com/vitejs/vite/issues/10485)) ([1a2e7a8](https://github.com/vitejs/vite/commit/1a2e7a8)), closes [#&#8203;10485](https://github.com/vitejs/vite/issues/10485) - feat: update esbuild compilation affecting fields ([#&#8203;10374](https://github.com/vitejs/vite/issues/10374)) ([f542727](https://github.com/vitejs/vite/commit/f542727)), closes [#&#8203;10374](https://github.com/vitejs/vite/issues/10374) - feat(proxy): Include URL of request in proxy errors ([#&#8203;10508](https://github.com/vitejs/vite/issues/10508)) ([27e2832](https://github.com/vitejs/vite/commit/27e2832)), closes [#&#8203;10508](https://github.com/vitejs/vite/issues/10508) - refactor: delete dependent pre built proxy modules ([#&#8203;10427](https://github.com/vitejs/vite/issues/10427)) ([b3b388d](https://github.com/vitejs/vite/commit/b3b388d)), closes [#&#8203;10427](https://github.com/vitejs/vite/issues/10427) - feat(server): invalidate module with hmr ([#&#8203;10333](https://github.com/vitejs/vite/issues/10333)) ([8328011](https://github.com/vitejs/vite/commit/8328011)), closes [#&#8203;10333](https://github.com/vitejs/vite/issues/10333) - feat: build.modulePreload options ([#&#8203;9938](https://github.com/vitejs/vite/issues/9938)) ([e223f84](https://github.com/vitejs/vite/commit/e223f84)), closes [#&#8203;9938](https://github.com/vitejs/vite/issues/9938) - feat: customize ErrorOverlay ([#&#8203;10234](https://github.com/vitejs/vite/issues/10234)) ([fe4dc8d](https://github.com/vitejs/vite/commit/fe4dc8d)), closes [#&#8203;10234](https://github.com/vitejs/vite/issues/10234) - feat: dynamic import support ?url and ?worker ([#&#8203;8261](https://github.com/vitejs/vite/issues/8261)) ([0cb01ca](https://github.com/vitejs/vite/commit/0cb01ca)), closes [#&#8203;8261](https://github.com/vitejs/vite/issues/8261) - feat: include duplicate assets in the manifest ([#&#8203;9928](https://github.com/vitejs/vite/issues/9928)) ([42ecf37](https://github.com/vitejs/vite/commit/42ecf37)), closes [#&#8203;9928](https://github.com/vitejs/vite/issues/9928) - feat: support import.meta.hot.invalidate ([#&#8203;10244](https://github.com/vitejs/vite/issues/10244)) ([fb8ab16](https://github.com/vitejs/vite/commit/fb8ab16)), closes [#&#8203;10244](https://github.com/vitejs/vite/issues/10244) - feat: support postcss sugarss ([#&#8203;6705](https://github.com/vitejs/vite/issues/6705)) ([8ede2f1](https://github.com/vitejs/vite/commit/8ede2f1)), closes [#&#8203;6705](https://github.com/vitejs/vite/issues/6705) - feat(assets): allow `new URL` to resolve package assets ([#&#8203;7837](https://github.com/vitejs/vite/issues/7837)) ([bafccf5](https://github.com/vitejs/vite/commit/bafccf5)), closes [#&#8203;7837](https://github.com/vitejs/vite/issues/7837) - feat(client): add data-vite-dev-id attribute to style elements ([#&#8203;10080](https://github.com/vitejs/vite/issues/10080)) ([ea09fde](https://github.com/vitejs/vite/commit/ea09fde)), closes [#&#8203;10080](https://github.com/vitejs/vite/issues/10080) - feat(lib): allow multiple entries ([#&#8203;7047](https://github.com/vitejs/vite/issues/7047)) ([65a0fad](https://github.com/vitejs/vite/commit/65a0fad)), closes [#&#8203;7047](https://github.com/vitejs/vite/issues/7047) - feat(optimizer): Support bun lockfile format ([#&#8203;10288](https://github.com/vitejs/vite/issues/10288)) ([931d69b](https://github.com/vitejs/vite/commit/931d69b)), closes [#&#8203;10288](https://github.com/vitejs/vite/issues/10288) - refactor(types): bundle client types ([#&#8203;9966](https://github.com/vitejs/vite/issues/9966)) ([da632bf](https://github.com/vitejs/vite/commit/da632bf)), closes [#&#8203;9966](https://github.com/vitejs/vite/issues/9966) - refactor(types): simplify type exports ([#&#8203;10243](https://github.com/vitejs/vite/issues/10243)) ([291174d](https://github.com/vitejs/vite/commit/291174d)), closes [#&#8203;10243](https://github.com/vitejs/vite/issues/10243) - perf: cache compiled glob for `server.fs.deny` ([#&#8203;10044](https://github.com/vitejs/vite/issues/10044)) ([df560b0](https://github.com/vitejs/vite/commit/df560b0)), closes [#&#8203;10044](https://github.com/vitejs/vite/issues/10044) ##### Bug Fixes - fix: add a warning if css urls not exist during build time (fix [#&#8203;9800](https://github.com/vitejs/vite/issues/9800)) ([#&#8203;10331](https://github.com/vitejs/vite/issues/10331)) ([9f268da](https://github.com/vitejs/vite/commit/9f268da)), closes [#&#8203;9800](https://github.com/vitejs/vite/issues/9800) [#&#8203;10331](https://github.com/vitejs/vite/issues/10331) - fix: increase error overlay z-index ([#&#8203;10603](https://github.com/vitejs/vite/issues/10603)) ([1157941](https://github.com/vitejs/vite/commit/1157941)), closes [#&#8203;10603](https://github.com/vitejs/vite/issues/10603) - fix: revert es-module-lexer version ([#&#8203;10614](https://github.com/vitejs/vite/issues/10614)) ([cffe5c9](https://github.com/vitejs/vite/commit/cffe5c9)), closes [#&#8203;10614](https://github.com/vitejs/vite/issues/10614) - fix: when the file path is an absolute path, parsing causes parameter loss ([#&#8203;10449](https://github.com/vitejs/vite/issues/10449)) ([df86990](https://github.com/vitejs/vite/commit/df86990)), closes [#&#8203;10449](https://github.com/vitejs/vite/issues/10449) - fix(config): resolve build options with fallback ([#&#8203;10645](https://github.com/vitejs/vite/issues/10645)) ([f7021e3](https://github.com/vitejs/vite/commit/f7021e3)), closes [#&#8203;10645](https://github.com/vitejs/vite/issues/10645) - fix(deps): update all non-major dependencies ([#&#8203;10610](https://github.com/vitejs/vite/issues/10610)) ([bb95467](https://github.com/vitejs/vite/commit/bb95467)), closes [#&#8203;10610](https://github.com/vitejs/vite/issues/10610) - fix(hmr): cannot reload after missing import on server startup ([#&#8203;9534](https://github.com/vitejs/vite/issues/9534)) ([#&#8203;10602](https://github.com/vitejs/vite/issues/10602)) ([ee7c28a](https://github.com/vitejs/vite/commit/ee7c28a)), closes [#&#8203;9534](https://github.com/vitejs/vite/issues/9534) [#&#8203;10602](https://github.com/vitejs/vite/issues/10602) - fix(css): strip BOM (fixes [#&#8203;10043](https://github.com/vitejs/vite/issues/10043)) ([#&#8203;10577](https://github.com/vitejs/vite/issues/10577)) ([e0463bd](https://github.com/vitejs/vite/commit/e0463bd)), closes [#&#8203;10043](https://github.com/vitejs/vite/issues/10043) [#&#8203;10577](https://github.com/vitejs/vite/issues/10577) - fix(ssr): resolve with isRequire true ([#&#8203;10569](https://github.com/vitejs/vite/issues/10569)) ([7b81210](https://github.com/vitejs/vite/commit/7b81210)), closes [#&#8203;10569](https://github.com/vitejs/vite/issues/10569) - fix: prefer exports when resolving ([#&#8203;10371](https://github.com/vitejs/vite/issues/10371)) ([3259006](https://github.com/vitejs/vite/commit/3259006)), closes [#&#8203;10371](https://github.com/vitejs/vite/issues/10371) - fix(config): partial deno support ([#&#8203;10446](https://github.com/vitejs/vite/issues/10446)) ([c4489ea](https://github.com/vitejs/vite/commit/c4489ea)), closes [#&#8203;10446](https://github.com/vitejs/vite/issues/10446) - fix(config): skip resolve builtin modules ([#&#8203;10420](https://github.com/vitejs/vite/issues/10420)) ([ecba3f8](https://github.com/vitejs/vite/commit/ecba3f8)), closes [#&#8203;10420](https://github.com/vitejs/vite/issues/10420) - fix(ssr): handle parallel hookNodeResolve ([#&#8203;10401](https://github.com/vitejs/vite/issues/10401)) ([1a961d9](https://github.com/vitejs/vite/commit/1a961d9)), closes [#&#8203;10401](https://github.com/vitejs/vite/issues/10401) - fix(cli): when the user enters the same command ([#&#8203;10474](https://github.com/vitejs/vite/issues/10474)) ([2326f4a](https://github.com/vitejs/vite/commit/2326f4a)), closes [#&#8203;10474](https://github.com/vitejs/vite/issues/10474) - fix(config): don't use module condition (`import.meta.resolve`) (fixes [#&#8203;10430](https://github.com/vitejs/vite/issues/10430)) ([#&#8203;10528](https://github.com/vitejs/vite/issues/10528)) ([64f19b9](https://github.com/vitejs/vite/commit/64f19b9)), closes [#&#8203;10430](https://github.com/vitejs/vite/issues/10430) [#&#8203;10528](https://github.com/vitejs/vite/issues/10528) - fix(css): remove `?direct` in id for postcss process ([#&#8203;10514](https://github.com/vitejs/vite/issues/10514)) ([67e7bf2](https://github.com/vitejs/vite/commit/67e7bf2)), closes [#&#8203;10514](https://github.com/vitejs/vite/issues/10514) - fix(html): allow self closing on non-void elements ([#&#8203;10478](https://github.com/vitejs/vite/issues/10478)) ([29292af](https://github.com/vitejs/vite/commit/29292af)), closes [#&#8203;10478](https://github.com/vitejs/vite/issues/10478) - fix(legacy): restore entry chunk CSS inlining, reverts [#&#8203;9761](https://github.com/vitejs/vite/issues/9761) ([#&#8203;10496](https://github.com/vitejs/vite/issues/10496)) ([9cc808e](https://github.com/vitejs/vite/commit/9cc808e)), closes [#&#8203;9761](https://github.com/vitejs/vite/issues/9761) [#&#8203;10496](https://github.com/vitejs/vite/issues/10496) - chore: simplify filter plugin code ([#&#8203;10459](https://github.com/vitejs/vite/issues/10459)) ([5d9b810](https://github.com/vitejs/vite/commit/5d9b810)), closes [#&#8203;10459](https://github.com/vitejs/vite/issues/10459) - chore(deps): update all non-major dependencies ([#&#8203;10488](https://github.com/vitejs/vite/issues/10488)) ([15aa827](https://github.com/vitejs/vite/commit/15aa827)), closes [#&#8203;10488](https://github.com/vitejs/vite/issues/10488) - chore: update magic-string ([#&#8203;10364](https://github.com/vitejs/vite/issues/10364)) ([23c9259](https://github.com/vitejs/vite/commit/23c9259)), closes [#&#8203;10364](https://github.com/vitejs/vite/issues/10364) - chore(deps): update all non-major dependencies ([#&#8203;10393](https://github.com/vitejs/vite/issues/10393)) ([f519423](https://github.com/vitejs/vite/commit/f519423)), closes [#&#8203;10393](https://github.com/vitejs/vite/issues/10393) - chore(deps): update dependency [@&#8203;rollup/plugin-alias](https://github.com/rollup/plugin-alias) to v4 ([#&#8203;10394](https://github.com/vitejs/vite/issues/10394)) ([e2b4c8f](https://github.com/vitejs/vite/commit/e2b4c8f)), closes [#&#8203;10394](https://github.com/vitejs/vite/issues/10394) - feat(lib): cjs instead of umd as default format for multiple entries ([#&#8203;10315](https://github.com/vitejs/vite/issues/10315)) ([07d3fbd](https://github.com/vitejs/vite/commit/07d3fbd)), closes [#&#8203;10315](https://github.com/vitejs/vite/issues/10315) - fix: make client type work with `moduleResolution=node16` ([#&#8203;10375](https://github.com/vitejs/vite/issues/10375)) ([8c4df1f](https://github.com/vitejs/vite/commit/8c4df1f)), closes [#&#8203;10375](https://github.com/vitejs/vite/issues/10375) - fix(config): don't resolve by module field ([#&#8203;10347](https://github.com/vitejs/vite/issues/10347)) ([cc1c829](https://github.com/vitejs/vite/commit/cc1c829)), closes [#&#8203;10347](https://github.com/vitejs/vite/issues/10347) - fix(html): handle attrs with prefix (fixes [#&#8203;10337](https://github.com/vitejs/vite/issues/10337)) ([#&#8203;10381](https://github.com/vitejs/vite/issues/10381)) ([7b4d6e8](https://github.com/vitejs/vite/commit/7b4d6e8)), closes [#&#8203;10337](https://github.com/vitejs/vite/issues/10337) [#&#8203;10381](https://github.com/vitejs/vite/issues/10381) - fix(ssr): track var as function scope ([#&#8203;10388](https://github.com/vitejs/vite/issues/10388)) ([87b48f9](https://github.com/vitejs/vite/commit/87b48f9)), closes [#&#8203;10388](https://github.com/vitejs/vite/issues/10388) - fix: add module types ([#&#8203;10299](https://github.com/vitejs/vite/issues/10299)) ([0b89dd2](https://github.com/vitejs/vite/commit/0b89dd2)), closes [#&#8203;10299](https://github.com/vitejs/vite/issues/10299) - fix: css order problem in async chunk ([#&#8203;9949](https://github.com/vitejs/vite/issues/9949)) ([6c7b834](https://github.com/vitejs/vite/commit/6c7b834)), closes [#&#8203;9949](https://github.com/vitejs/vite/issues/9949) - fix: don't duplicate styles with dynamic import (fix [#&#8203;9967](https://github.com/vitejs/vite/issues/9967)) ([#&#8203;9970](https://github.com/vitejs/vite/issues/9970)) ([65f97bd](https://github.com/vitejs/vite/commit/65f97bd)), closes [#&#8203;9967](https://github.com/vitejs/vite/issues/9967) [#&#8203;9970](https://github.com/vitejs/vite/issues/9970) - fix: env variables override ([#&#8203;10113](https://github.com/vitejs/vite/issues/10113)) ([d619460](https://github.com/vitejs/vite/commit/d619460)), closes [#&#8203;10113](https://github.com/vitejs/vite/issues/10113) - fix: isFromTsImporter flag in worker virtual model ([#&#8203;10273](https://github.com/vitejs/vite/issues/10273)) ([78f74c9](https://github.com/vitejs/vite/commit/78f74c9)), closes [#&#8203;10273](https://github.com/vitejs/vite/issues/10273) - fix: properly close optimizer on server restart ([#&#8203;10028](https://github.com/vitejs/vite/issues/10028)) ([a32777f](https://github.com/vitejs/vite/commit/a32777f)), closes [#&#8203;10028](https://github.com/vitejs/vite/issues/10028) - fix: respect `mainFields` when resolving browser/module field (fixes [#&#8203;8659](https://github.com/vitejs/vite/issues/8659)) ([#&#8203;10071](https://github.com/vitejs/vite/issues/10071)) ([533d13c](https://github.com/vitejs/vite/commit/533d13c)), closes [#&#8203;8659](https://github.com/vitejs/vite/issues/8659) [#&#8203;10071](https://github.com/vitejs/vite/issues/10071) - fix: respect resolve.conditions, when resolving browser/require field ([#&#8203;9860](https://github.com/vitejs/vite/issues/9860)) ([9a83eaf](https://github.com/vitejs/vite/commit/9a83eaf)), closes [#&#8203;9860](https://github.com/vitejs/vite/issues/9860) - fix: support process each out dir when there are two or more ([#&#8203;9748](https://github.com/vitejs/vite/issues/9748)) ([ee3231c](https://github.com/vitejs/vite/commit/ee3231c)), closes [#&#8203;9748](https://github.com/vitejs/vite/issues/9748) - fix(build): fix resolution algorithm when `build.ssr` is true ([#&#8203;9989](https://github.com/vitejs/vite/issues/9989)) ([7229251](https://github.com/vitejs/vite/commit/7229251)), closes [#&#8203;9989](https://github.com/vitejs/vite/issues/9989) - fix(config): resolve implicit deps as absolute path ([#&#8203;10254](https://github.com/vitejs/vite/issues/10254)) ([ec1f3ae](https://github.com/vitejs/vite/commit/ec1f3ae)), closes [#&#8203;10254](https://github.com/vitejs/vite/issues/10254) - fix(css): missing css in lib mode ([#&#8203;10185](https://github.com/vitejs/vite/issues/10185)) ([e4c1c6d](https://github.com/vitejs/vite/commit/e4c1c6d)), closes [#&#8203;10185](https://github.com/vitejs/vite/issues/10185) - fix(deps): update all non-major dependencies ([#&#8203;10160](https://github.com/vitejs/vite/issues/10160)) ([6233c83](https://github.com/vitejs/vite/commit/6233c83)), closes [#&#8203;10160](https://github.com/vitejs/vite/issues/10160) - fix(deps): update all non-major dependencies ([#&#8203;10316](https://github.com/vitejs/vite/issues/10316)) ([a38b450](https://github.com/vitejs/vite/commit/a38b450)), closes [#&#8203;10316](https://github.com/vitejs/vite/issues/10316) - fix(deps): update rollup to `^2.79.1` ([#&#8203;10298](https://github.com/vitejs/vite/issues/10298)) ([2266d83](https://github.com/vitejs/vite/commit/2266d83)), closes [#&#8203;10298](https://github.com/vitejs/vite/issues/10298) - fix(esbuild): transpile with esnext in dev ([#&#8203;10207](https://github.com/vitejs/vite/issues/10207)) ([43b7b78](https://github.com/vitejs/vite/commit/43b7b78)), closes [#&#8203;10207](https://github.com/vitejs/vite/issues/10207) - fix(hmr): handle virtual module update ([#&#8203;10324](https://github.com/vitejs/vite/issues/10324)) ([7c4accb](https://github.com/vitejs/vite/commit/7c4accb)), closes [#&#8203;10324](https://github.com/vitejs/vite/issues/10324) - fix(optimizer): browser field bare import (fix [#&#8203;7599](https://github.com/vitejs/vite/issues/7599)) ([#&#8203;10314](https://github.com/vitejs/vite/issues/10314)) ([cba13e8](https://github.com/vitejs/vite/commit/cba13e8)), closes [#&#8203;7599](https://github.com/vitejs/vite/issues/7599) [#&#8203;10314](https://github.com/vitejs/vite/issues/10314) - fix(sass): reorder sass importers ([#&#8203;10101](https://github.com/vitejs/vite/issues/10101)) ([a543731](https://github.com/vitejs/vite/commit/a543731)), closes [#&#8203;10101](https://github.com/vitejs/vite/issues/10101) - fix(server): handle appType mpa html fallback ([#&#8203;10336](https://github.com/vitejs/vite/issues/10336)) ([65dd88b](https://github.com/vitejs/vite/commit/65dd88b)), closes [#&#8203;10336](https://github.com/vitejs/vite/issues/10336) - fix(ssr): correctly track scope ([#&#8203;10300](https://github.com/vitejs/vite/issues/10300)) ([a60529f](https://github.com/vitejs/vite/commit/a60529f)), closes [#&#8203;10300](https://github.com/vitejs/vite/issues/10300) - fix(worker): support comment in worker constructor option ([#&#8203;10226](https://github.com/vitejs/vite/issues/10226)) ([66c9058](https://github.com/vitejs/vite/commit/66c9058)), closes [#&#8203;10226](https://github.com/vitejs/vite/issues/10226) - fix(worker): support trailing comma ([#&#8203;10211](https://github.com/vitejs/vite/issues/10211)) ([0542e7c](https://github.com/vitejs/vite/commit/0542e7c)), closes [#&#8203;10211](https://github.com/vitejs/vite/issues/10211) ##### Previous Changelogs ##### [3.2.0-beta.4](https://github.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://github.com/vitejs/vite/blob/v3.2.0-beta.4/packages/vite/CHANGELOG.md) ##### [3.2.0-beta.3](https://github.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://github.com/vitejs/vite/blob/v3.2.0-beta.4/packages/vite/CHANGELOG.md) ##### [3.2.0-beta.2](https://github.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://github.com/vitejs/vite/blob/v3.2.0-beta.4/packages/vite/CHANGELOG.md) ##### [3.2.0-beta.1](https://github.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://github.com/vitejs/vite/blob/v3.2.0-beta.4/packages/vite/CHANGELOG.md) ##### [3.2.0-beta.0](https://github.com/vitejs/vite/compare/v3.1.3...v3.2.0-beta.0) (2022-10-05) See [3.2.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v3.2.0-beta.4/packages/vite/CHANGELOG.md) ### [`v3.1.8`](https://github.com/vitejs/vite/releases/tag/v3.1.8) [Compare Source](https://github.com/vitejs/vite/compare/v3.1.7...v3.1.8) Please refer to [CHANGELOG.md](https://github.com/vitejs/vite/blob/v3.1.8/packages/vite/CHANGELOG.md) for details. ### [`v3.1.7`](https://github.com/vitejs/vite/releases/tag/v3.1.7) [Compare Source](https://github.com/vitejs/vite/compare/v3.1.6...v3.1.7) Please refer to [CHANGELOG.md](https://github.com/vitejs/vite/blob/v3.1.7/packages/vite/CHANGELOG.md) for details. ### [`v3.1.6`](https://github.com/vitejs/vite/releases/tag/v3.1.6) [Compare Source](https://github.com/vitejs/vite/compare/v3.1.5...v3.1.6) Please refer to [CHANGELOG.md](https://github.com/vitejs/vite/blob/v3.1.6/packages/vite/CHANGELOG.md) for details. ### [`v3.1.5`](https://github.com/vitejs/vite/releases/tag/v3.1.5) [Compare Source](https://github.com/vitejs/vite/compare/v3.1.4...v3.1.5) Please refer to [CHANGELOG.md](https://github.com/vitejs/vite/blob/v3.1.5/packages/vite/CHANGELOG.md) for details. ### [`v3.1.4`](https://github.com/vitejs/vite/releases/tag/v3.1.4) [Compare Source](https://github.com/vitejs/vite/compare/v3.1.3...v3.1.4) Please refer to [CHANGELOG.md](https://github.com/vitejs/vite/blob/v3.1.4/packages/vite/CHANGELOG.md) for details. ### [`v3.1.3`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small313-2022-09-19-small) [Compare Source](https://github.com/vitejs/vite/compare/v3.1.2...v3.1.3) - fix: esbuildOutputFromId for symlinked root ([#&#8203;10154](https://github.com/vitejs/vite/issues/10154)) ([fc5310f](https://github.com/vitejs/vite/commit/fc5310f)), closes [#&#8203;10154](https://github.com/vitejs/vite/issues/10154) - fix(hmr): dedupe virtual modules in module graph ([#&#8203;10144](https://github.com/vitejs/vite/issues/10144)) ([71f08e7](https://github.com/vitejs/vite/commit/71f08e7)), closes [#&#8203;10144](https://github.com/vitejs/vite/issues/10144) - fix(lib): respect `rollupOptions.input` in lib mode ([#&#8203;10116](https://github.com/vitejs/vite/issues/10116)) ([c948e7d](https://github.com/vitejs/vite/commit/c948e7d)), closes [#&#8203;10116](https://github.com/vitejs/vite/issues/10116) ### [`v3.1.2`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small312-2022-09-17-small) [Compare Source](https://github.com/vitejs/vite/compare/v3.1.1...v3.1.2) - fix: use isOptimizable to ensure version query ([#&#8203;10141](https://github.com/vitejs/vite/issues/10141)) ([23a51c6](https://github.com/vitejs/vite/commit/23a51c6)), closes [#&#8203;10141](https://github.com/vitejs/vite/issues/10141) ### [`v3.1.1`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small311-2022-09-15-small) [Compare Source](https://github.com/vitejs/vite/compare/b1ad82def57f1e07233d5011489900bb38a8fe6b...v3.1.1) - fix: ensure version query for relative node_modules imports ([#&#8203;10016](https://github.com/vitejs/vite/issues/10016)) ([1b822d0](https://github.com/vitejs/vite/commit/1b822d0)), closes [#&#8203;10016](https://github.com/vitejs/vite/issues/10016) - fix: no quote on attrs ([#&#8203;10117](https://github.com/vitejs/vite/issues/10117)) ([f541239](https://github.com/vitejs/vite/commit/f541239)), closes [#&#8203;10117](https://github.com/vitejs/vite/issues/10117) - fix: prevent error overlay style being overridden (fixes [#&#8203;9969](https://github.com/vitejs/vite/issues/9969)) ([#&#8203;9971](https://github.com/vitejs/vite/issues/9971)) ([a7706d0](https://github.com/vitejs/vite/commit/a7706d0)), closes [#&#8203;9969](https://github.com/vitejs/vite/issues/9969) [#&#8203;9971](https://github.com/vitejs/vite/issues/9971) - fix: proxy to secured websocket server ([#&#8203;10045](https://github.com/vitejs/vite/issues/10045)) ([9de9bc4](https://github.com/vitejs/vite/commit/9de9bc4)), closes [#&#8203;10045](https://github.com/vitejs/vite/issues/10045) - fix: replace white with reset ([#&#8203;10104](https://github.com/vitejs/vite/issues/10104)) ([5d56e42](https://github.com/vitejs/vite/commit/5d56e42)), closes [#&#8203;10104](https://github.com/vitejs/vite/issues/10104) - fix(deps): update all non-major dependencies ([#&#8203;10077](https://github.com/vitejs/vite/issues/10077)) ([caf00c8](https://github.com/vitejs/vite/commit/caf00c8)), closes [#&#8203;10077](https://github.com/vitejs/vite/issues/10077) - fix(deps): update all non-major dependencies ([#&#8203;9985](https://github.com/vitejs/vite/issues/9985)) ([855f2f0](https://github.com/vitejs/vite/commit/855f2f0)), closes [#&#8203;9985](https://github.com/vitejs/vite/issues/9985) - fix(preview): send configured headers ([#&#8203;9976](https://github.com/vitejs/vite/issues/9976)) ([0d20eae](https://github.com/vitejs/vite/commit/0d20eae)), closes [#&#8203;9976](https://github.com/vitejs/vite/issues/9976) - chore: cleanup old changelogs ([#&#8203;10056](https://github.com/vitejs/vite/issues/10056)) ([9e65a41](https://github.com/vitejs/vite/commit/9e65a41)), closes [#&#8203;10056](https://github.com/vitejs/vite/issues/10056) - chore: update 3.1 changelog ([#&#8203;9994](https://github.com/vitejs/vite/issues/9994)) ([44dbcbe](https://github.com/vitejs/vite/commit/44dbcbe)), closes [#&#8203;9994](https://github.com/vitejs/vite/issues/9994) - chore(deps): update [@&#8203;rollup/plugin-node-resolve](https://github.com/rollup/plugin-node-resolve) to v14 ([#&#8203;10078](https://github.com/vitejs/vite/issues/10078)) ([3390c87](https://github.com/vitejs/vite/commit/3390c87)), closes [#&#8203;10078](https://github.com/vitejs/vite/issues/10078) - refactor: config hook helper function ([#&#8203;9982](https://github.com/vitejs/vite/issues/9982)) ([9c1be10](https://github.com/vitejs/vite/commit/9c1be10)), closes [#&#8203;9982](https://github.com/vitejs/vite/issues/9982) - refactor: optimize `async` and `await` in code ([#&#8203;9854](https://github.com/vitejs/vite/issues/9854)) ([31f5ff3](https://github.com/vitejs/vite/commit/31f5ff3)), closes [#&#8203;9854](https://github.com/vitejs/vite/issues/9854) ### [`v3.1.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#&#8203;310-2022-09-05) [Compare Source](https://github.com/vitejs/vite/compare/v3.0.9...b1ad82def57f1e07233d5011489900bb38a8fe6b) ##### Main Changes - Vite now uses [parse5](https://github.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 ([#&#8203;9678](https://github.com/vitejs/vite/issues/9678)). - Vite now supports using objects as hooks to change execution order ([#&#8203;9634](https://github.com/vitejs/vite/issues/9634)). Check out the [RFC](https://github.com/vitejs/rfcs/discussions/12) and the implementation upstream at [rollup/rollup#&#8203;4600](https://github.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 ([#&#8203;8855](https://github.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 ([#&#8203;9909](https://github.com/vitejs/vite/issues/9909)) ([632fedf](https://github.com/vitejs/vite/commit/632fedf)), closes [#&#8203;9909](https://github.com/vitejs/vite/issues/9909) - perf: bundle create-vite ([#&#8203;9034](https://github.com/vitejs/vite/issues/9034)) ([37ac91e](https://github.com/vitejs/vite/commit/37ac91e)), closes [#&#8203;9034](https://github.com/vitejs/vite/issues/9034) - feat: stabilize server.resolvedUrls ([#&#8203;9866](https://github.com/vitejs/vite/issues/9866)) ([c3f6731](https://github.com/vitejs/vite/commit/c3f6731)), closes [#&#8203;9866](https://github.com/vitejs/vite/issues/9866) - feat(client): use debug channel on hot updates ([#&#8203;8855](https://github.com/vitejs/vite/issues/8855)) ([0452224](https://github.com/vitejs/vite/commit/0452224)), closes [#&#8203;8855](https://github.com/vitejs/vite/issues/8855) - feat: relax dep browser externals as warning ([#&#8203;9837](https://github.com/vitejs/vite/issues/9837)) ([71cb374](https://github.com/vitejs/vite/commit/71cb374)), closes [#&#8203;9837](https://github.com/vitejs/vite/issues/9837) - feat: support object style hooks ([#&#8203;9634](https://github.com/vitejs/vite/issues/9634)) ([757a92f](https://github.com/vitejs/vite/commit/757a92f)), closes [#&#8203;9634](https://github.com/vitejs/vite/issues/9634) - refactor: migrate from vue/compiler-dom to parse5 ([#&#8203;9678](https://github.com/vitejs/vite/issues/9678)) ([05b3ce6](https://github.com/vitejs/vite/commit/05b3ce6)), closes [#&#8203;9678](https://github.com/vitejs/vite/issues/9678) - refactor: use `server.ssrTransform` ([#&#8203;9769](https://github.com/vitejs/vite/issues/9769)) ([246a087](https://github.com/vitejs/vite/commit/246a087)), closes [#&#8203;9769](https://github.com/vitejs/vite/issues/9769) - perf: legacy avoid insert the entry module css ([#&#8203;9761](https://github.com/vitejs/vite/issues/9761)) ([0765ab8](https://github.com/vitejs/vite/commit/0765ab8)), closes [#&#8203;9761](https://github.com/vitejs/vite/issues/9761) ##### Bug Fixes - fix(css): remove css-post plugin sourcemap ([#&#8203;9914](https://github.com/vitejs/vite/issues/9914)) ([c9521e7](https://github.com/vitejs/vite/commit/c9521e7)), closes [#&#8203;9914](https://github.com/vitejs/vite/issues/9914) - fix(hmr): duplicated modules because of query params mismatch (fixes [#&#8203;2255](https://github.com/vitejs/vite/issues/2255)) ([#&#8203;9773](https://github.com/vitejs/vite/issues/9773)) ([86bf776](https://github.com/vitejs/vite/commit/86bf776)), closes [#&#8203;2255](https://github.com/vitejs/vite/issues/2255) [#&#8203;9773](https://github.com/vitejs/vite/issues/9773) - fix(ssr): enable `inlineDynamicImports` when input has length 1 ([#&#8203;9904](https://github.com/vitejs/vite/issues/9904)) ([9ac5075](https://github.com/vitejs/vite/commit/9ac5075)), closes [#&#8203;9904](https://github.com/vitejs/vite/issues/9904) - fix(types): mark explicitImportRequired optional and experimental ([#&#8203;9962](https://github.com/vitejs/vite/issues/9962)) ([7b618f0](https://github.com/vitejs/vite/commit/7b618f0)), closes [#&#8203;9962](https://github.com/vitejs/vite/issues/9962) - fix: bump esbuild to 0.15.6 ([#&#8203;9934](https://github.com/vitejs/vite/issues/9934)) ([091537c](https://github.com/vitejs/vite/commit/091537c)), closes [#&#8203;9934](https://github.com/vitejs/vite/issues/9934) - refactor(hmr): simplify fetchUpdate ([#&#8203;9881](https://github.com/vitejs/vite/issues/9881)) ([8872aba](https://github.com/vitejs/vite/commit/8872aba)), closes [#&#8203;9881](https://github.com/vitejs/vite/issues/9881) - fix: ensure version query for direct node_modules imports ([#&#8203;9848](https://github.com/vitejs/vite/issues/9848)) ([e7712ff](https://github.com/vitejs/vite/commit/e7712ff)), closes [#&#8203;9848](https://github.com/vitejs/vite/issues/9848) - fix: escape glob path ([#&#8203;9842](https://github.com/vitejs/vite/issues/9842)) ([6be971e](https://github.com/vitejs/vite/commit/6be971e)), closes [#&#8203;9842](https://github.com/vitejs/vite/issues/9842) - fix(build): build project path error ([#&#8203;9793](https://github.com/vitejs/vite/issues/9793)) ([cc8800a](https://github.com/vitejs/vite/commit/cc8800a)), closes [#&#8203;9793](https://github.com/vitejs/vite/issues/9793) - fix(types): explicitly set Vite hooks' `this` to `void` ([#&#8203;9885](https://github.com/vitejs/vite/issues/9885)) ([2d2f2e5](https://github.com/vitejs/vite/commit/2d2f2e5)), closes [#&#8203;9885](https://github.com/vitejs/vite/issues/9885) - fix: `completeSystemWrapPlugin` captures `function ()` (fixes [#&#8203;9807](https://github.com/vitejs/vite/issues/9807)) ([#&#8203;9821](https://github.com/vitejs/vite/issues/9821)) ([1ee0364](https://github.com/vitejs/vite/commit/1ee0364)), closes [#&#8203;9807](https://github.com/vitejs/vite/issues/9807) [#&#8203;9821](https://github.com/vitejs/vite/issues/9821) - fix: `injectQuery` break relative path ([#&#8203;9760](https://github.com/vitejs/vite/issues/9760)) ([61273b2](https://github.com/vitejs/vite/commit/61273b2)), closes [#&#8203;9760](https://github.com/vitejs/vite/issues/9760) - fix: close socket when client error handled ([#&#8203;9816](https://github.com/vitejs/vite/issues/9816)) ([ba62be4](https://github.com/vitejs/vite/commit/ba62be4)), closes [#&#8203;9816](https://github.com/vitejs/vite/issues/9816) - fix: handle resolve optional peer deps ([#&#8203;9321](https://github.com/vitejs/vite/issues/9321)) ([eec3886](https://github.com/vitejs/vite/commit/eec3886)), closes [#&#8203;9321](https://github.com/vitejs/vite/issues/9321) - fix: module graph ensureEntryFromUrl based on id ([#&#8203;9759](https://github.com/vitejs/vite/issues/9759)) ([01857af](https://github.com/vitejs/vite/commit/01857af)), closes [#&#8203;9759](https://github.com/vitejs/vite/issues/9759) - fix: sanitize asset filenames ([#&#8203;9737](https://github.com/vitejs/vite/issues/9737)) ([2f468bb](https://github.com/vitejs/vite/commit/2f468bb)), closes [#&#8203;9737](https://github.com/vitejs/vite/issues/9737) - fix: Skip inlining Git LFS placeholders (fix [#&#8203;9714](https://github.com/vitejs/vite/issues/9714)) ([#&#8203;9795](https://github.com/vitejs/vite/issues/9795)) ([9c7e43d](https://github.com/vitejs/vite/commit/9c7e43d)), closes [#&#8203;9714](https://github.com/vitejs/vite/issues/9714) [#&#8203;9795](https://github.com/vitejs/vite/issues/9795) - fix(html): move importmap before module scripts ([#&#8203;9392](https://github.com/vitejs/vite/issues/9392)) ([b386fba](https://github.com/vitejs/vite/commit/b386fba)), closes [#&#8203;9392](https://github.com/vitejs/vite/issues/9392) ##### Previous Changelogs ##### [3.1.0-beta.2](https://github.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://github.com/vitejs/vite/blob/v3.1.0-beta.2/packages/vite/CHANGELOG.md) ##### [3.1.0-beta.1](https://github.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://github.com/vitejs/vite/blob/v3.1.0-beta.1/packages/vite/CHANGELOG.md) ##### [3.1.0-beta.0](https://github.com/vitejs/vite/compare/v3.0.0...v3.1.0-beta.0) (2022-08-25) See [3.1.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v3.1.0-beta.0/packages/vite/CHANGELOG.md) ### [`v3.0.9`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small309-2022-08-19-small) [Compare Source](https://github.com/vitejs/vite/compare/v3.0.8...v3.0.9) - feat(ssr): warn if cant analyze dynamic import ([#&#8203;9738](https://github.com/vitejs/vite/issues/9738)) ([e0ecb80](https://github.com/vitejs/vite/commit/e0ecb80)), closes [#&#8203;9738](https://github.com/vitejs/vite/issues/9738) - fix: dynamic import path contain ../ and its own directory ([#&#8203;9350](https://github.com/vitejs/vite/issues/9350)) ([c6870f3](https://github.com/vitejs/vite/commit/c6870f3)), closes [#&#8203;9350](https://github.com/vitejs/vite/issues/9350) - fix: legacy no resolve asset urls ([#&#8203;9507](https://github.com/vitejs/vite/issues/9507)) ([1d6a1eb](https://github.com/vitejs/vite/commit/1d6a1eb)), closes [#&#8203;9507](https://github.com/vitejs/vite/issues/9507) - fix: print error file path when using `rollupOptions.output.dir` (fix [#&#8203;9100](https://github.com/vitejs/vite/issues/9100)) ([#&#8203;9111](https://github.com/vitejs/vite/issues/9111)) ([3bffd14](https://github.com/vitejs/vite/commit/3bffd14)), closes [#&#8203;9100](https://github.com/vitejs/vite/issues/9100) [#&#8203;9111](https://github.com/vitejs/vite/issues/9111) - fix: skip undefined proxy entry ([#&#8203;9622](https://github.com/vitejs/vite/issues/9622)) ([e396d67](https://github.com/vitejs/vite/commit/e396d67)), closes [#&#8203;9622](https://github.com/vitejs/vite/issues/9622) - fix(hmr): duplicate link tags ([#&#8203;9697](https://github.com/vitejs/vite/issues/9697)) ([9aa9515](https://github.com/vitejs/vite/commit/9aa9515)), closes [#&#8203;9697](https://github.com/vitejs/vite/issues/9697) - fix(import-analysis): escape quotes ([#&#8203;9729](https://github.com/vitejs/vite/issues/9729)) ([21515f1](https://github.com/vitejs/vite/commit/21515f1)), closes [#&#8203;9729](https://github.com/vitejs/vite/issues/9729) - docs: fix typos in comments and documentation ([#&#8203;9711](https://github.com/vitejs/vite/issues/9711)) ([0571232](https://github.com/vitejs/vite/commit/0571232)), closes [#&#8203;9711](https://github.com/vitejs/vite/issues/9711) - docs: update import.meta.glob jsdocs ([#&#8203;9709](https://github.com/vitejs/vite/issues/9709)) ([15ff3a2](https://github.com/vitejs/vite/commit/15ff3a2)), closes [#&#8203;9709](https://github.com/vitejs/vite/issues/9709) - chore(deps): update all non-major dependencies ([#&#8203;9675](https://github.com/vitejs/vite/issues/9675)) ([4e56e87](https://github.com/vitejs/vite/commit/4e56e87)), closes [#&#8203;9675](https://github.com/vitejs/vite/issues/9675) - chore(deps): update dependency es-module-lexer to v1 ([#&#8203;9576](https://github.com/vitejs/vite/issues/9576)) ([1d8613f](https://github.com/vitejs/vite/commit/1d8613f)), closes [#&#8203;9576](https://github.com/vitejs/vite/issues/9576) - perf: avoid `ssrTransform` object allocation ([#&#8203;9706](https://github.com/vitejs/vite/issues/9706)) ([6e58d9d](https://github.com/vitejs/vite/commit/6e58d9d)), closes [#&#8203;9706](https://github.com/vitejs/vite/issues/9706) ### [`v3.0.8`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small308-2022-08-16-small) [Compare Source](https://github.com/vitejs/vite/compare/v3.0.7...v3.0.8) - fix: allow ping to http from https website ([#&#8203;9561](https://github.com/vitejs/vite/issues/9561)) ([f4b4405](https://github.com/vitejs/vite/commit/f4b4405)), closes [#&#8203;9561](https://github.com/vitejs/vite/issues/9561) - fix: use browser field if likely esm (fixes [#&#8203;9652](https://github.com/vitejs/vite/issues/9652)) ([#&#8203;9653](https://github.com/vitejs/vite/issues/9653)) ([85e387a](https://github.com/vitejs/vite/commit/85e387a)), closes [#&#8203;9652](https://github.com/vitejs/vite/issues/9652) [#&#8203;9653](https://github.com/vitejs/vite/issues/9653) - fix(ssr-manifest): filter path undefined when dynamic import ([#&#8203;9655](https://github.com/vitejs/vite/issues/9655)) ([1478a2f](https://github.com/vitejs/vite/commit/1478a2f)), closes [#&#8203;9655](https://github.com/vitejs/vite/issues/9655) - docs: update WSL2 watch limitation explanation ([#&#8203;8939](https://github.com/vitejs/vite/issues/8939)) ([afbb87d](https://github.com/vitejs/vite/commit/afbb87d)), closes [#&#8203;8939](https://github.com/vitejs/vite/issues/8939) ### [`v3.0.7`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small307-2022-08-12-small) [Compare Source](https://github.com/vitejs/vite/compare/v3.0.6...v3.0.7) - chore: fix typo in error message ([#&#8203;9645](https://github.com/vitejs/vite/issues/9645)) ([7121ee0](https://github.com/vitejs/vite/commit/7121ee0)), closes [#&#8203;9645](https://github.com/vitejs/vite/issues/9645) - fix(config): don't use file url for external files with cjs output ([#&#8203;9642](https://github.com/vitejs/vite/issues/9642)) ([73ad707](https://github.com/vitejs/vite/commit/73ad707)), closes [#&#8203;9642](https://github.com/vitejs/vite/issues/9642) ### [`v3.0.6`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small306-2022-08-11-small) [Compare Source](https://github.com/vitejs/vite/compare/v3.0.5...v3.0.6) - chore: narrow down rollup version ([#&#8203;9637](https://github.com/vitejs/vite/issues/9637)) ([fcf4d98](https://github.com/vitejs/vite/commit/fcf4d98)), closes [#&#8203;9637](https://github.com/vitejs/vite/issues/9637) - feat: show warning on 431 response ([#&#8203;9324](https://github.com/vitejs/vite/issues/9324)) ([e8b61bb](https://github.com/vitejs/vite/commit/e8b61bb)), closes [#&#8203;9324](https://github.com/vitejs/vite/issues/9324) - fix: avoid using `import.meta.url` for relative assets if output is not ESM (fixes [#&#8203;9297](https://github.com/vitejs/vite/issues/9297)) ([#&#8203;9381](https://github.com/vitejs/vite/issues/9381)) ([6d95225](https://github.com/vitejs/vite/commit/6d95225)), closes [#&#8203;9297](https://github.com/vitejs/vite/issues/9297) [#&#8203;9381](https://github.com/vitejs/vite/issues/9381) - fix: json HMR (fixes [#&#8203;9521](https://github.com/vitejs/vite/issues/9521)) ([#&#8203;9610](https://github.com/vitejs/vite/issues/9610)) ([e45d95f](https://github.com/vitejs/vite/commit/e45d95f)), closes [#&#8203;9521](https://github.com/vitejs/vite/issues/9521) [#&#8203;9610](https://github.com/vitejs/vite/issues/9610) - fix: legacy no emit worker ([#&#8203;9500](https://github.com/vitejs/vite/issues/9500)) ([9d0b18b](https://github.com/vitejs/vite/commit/9d0b18b)), closes [#&#8203;9500](https://github.com/vitejs/vite/issues/9500) - fix: use browser field if it is not likely UMD or CJS (fixes [#&#8203;9445](https://github.com/vitejs/vite/issues/9445)) ([#&#8203;9459](https://github.com/vitejs/vite/issues/9459)) ([c868e64](https://github.com/vitejs/vite/commit/c868e64)), closes [#&#8203;9445](https://github.com/vitejs/vite/issues/9445) [#&#8203;9459](https://github.com/vitejs/vite/issues/9459) - fix(optimizer): ignore EACCES errors while scanner (fixes [#&#8203;8916](https://github.com/vitejs/vite/issues/8916)) ([#&#8203;9509](https://github.com/vitejs/vite/issues/9509)) ([4e6a77f](https://github.com/vitejs/vite/commit/4e6a77f)), closes [#&#8203;8916](https://github.com/vitejs/vite/issues/8916) [#&#8203;9509](https://github.com/vitejs/vite/issues/9509) - fix(ssr): rename objectPattern dynamic key (fixes [#&#8203;9585](https://github.com/vitejs/vite/issues/9585)) ([#&#8203;9609](https://github.com/vitejs/vite/issues/9609)) ([ee7f78f](https://github.com/vitejs/vite/commit/ee7f78f)), closes [#&#8203;9585](https://github.com/vitejs/vite/issues/9585) [#&#8203;9609](https://github.com/vitejs/vite/issues/9609) ### [`v3.0.5`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small305-2022-08-09-small) [Compare Source](https://github.com/vitejs/vite/compare/v3.0.4...v3.0.5) - fix: allow tree-shake glob eager css in js ([#&#8203;9547](https://github.com/vitejs/vite/issues/9547)) ([2e309d6](https://github.com/vitejs/vite/commit/2e309d6)), closes [#&#8203;9547](https://github.com/vitejs/vite/issues/9547) - fix: ignore tsconfig target when bundling config ([#&#8203;9457](https://github.com/vitejs/vite/issues/9457)) ([c5e7895](https://github.com/vitejs/vite/commit/c5e7895)), closes [#&#8203;9457](https://github.com/vitejs/vite/issues/9457) - fix: log worker plugins in debug mode ([#&#8203;9553](https://github.com/vitejs/vite/issues/9553)) ([c1fa219](https://github.com/vitejs/vite/commit/c1fa219)), closes [#&#8203;9553](https://github.com/vitejs/vite/issues/9553) - fix: tree-shake modulepreload polyfill ([#&#8203;9531](https://github.com/vitejs/vite/issues/9531)) ([1f11a70](https://github.com/vitejs/vite/commit/1f11a70)), closes [#&#8203;9531](https://github.com/vitejs/vite/issues/9531) - fix: update dep types (fixes [#&#8203;9475](https://github.com/vitejs/vite/issues/9475)) ([#&#8203;9489](https://github.com/vitejs/vite/issues/9489)) ([937cecc](https://github.com/vitejs/vite/commit/937cecc)), closes [#&#8203;9475](https://github.com/vitejs/vite/issues/9475) [#&#8203;9489](https://github.com/vitejs/vite/issues/9489) - fix(build): normalized output log ([#&#8203;9594](https://github.com/vitejs/vite/issues/9594)) ([8bae103](https://github.com/vitejs/vite/commit/8bae103)), closes [#&#8203;9594](https://github.com/vitejs/vite/issues/9594) - fix(config): try catch unlink after load ([#&#8203;9577](https://github.com/vitejs/vite/issues/9577)) ([d35a1e2](https://github.com/vitejs/vite/commit/d35a1e2)), closes [#&#8203;9577](https://github.com/vitejs/vite/issues/9577) - fix(config): use file url for import path (fixes [#&#8203;9471](https://github.com/vitejs/vite/issues/9471)) ([#&#8203;9473](https://github.com/vitejs/vite/issues/9473)) ([22084a6](https://github.com/vitejs/vite/commit/22084a6)), closes [#&#8203;9471](https://github.com/vitejs/vite/issues/9471) [#&#8203;9473](https://github.com/vitejs/vite/issues/9473) - fix(deps): update all non-major dependencies ([#&#8203;9575](https://github.com/vitejs/vite/issues/9575)) ([8071325](https://github.com/vitejs/vite/commit/8071325)), closes [#&#8203;9575](https://github.com/vitejs/vite/issues/9575) - fix(ssr): check root import extension for external ([#&#8203;9494](https://github.com/vitejs/vite/issues/9494)) ([ff89df5](https://github.com/vitejs/vite/commit/ff89df5)), closes [#&#8203;9494](https://github.com/vitejs/vite/issues/9494) - fix(ssr): use appendRight for import ([#&#8203;9554](https://github.com/vitejs/vite/issues/9554)) ([dfec6ca](https://github.com/vitejs/vite/commit/dfec6ca)), closes [#&#8203;9554](https://github.com/vitejs/vite/issues/9554) - refactor(resolve): remove commonjs plugin handling ([#&#8203;9460](https://github.com/vitejs/vite/issues/9460)) ([2042b91](https://github.com/vitejs/vite/commit/2042b91)), closes [#&#8203;9460](https://github.com/vitejs/vite/issues/9460) - chore: init imports var before use ([#&#8203;9569](https://github.com/vitejs/vite/issues/9569)) ([905b8eb](https://github.com/vitejs/vite/commit/905b8eb)), closes [#&#8203;9569](https://github.com/vitejs/vite/issues/9569) - chore: node prefix lint ([#&#8203;9514](https://github.com/vitejs/vite/issues/9514)) ([9e9cd23](https://github.com/vitejs/vite/commit/9e9cd23)), closes [#&#8203;9514](https://github.com/vitejs/vite/issues/9514) - chore: tidy up eslint config ([#&#8203;9468](https://github.com/vitejs/vite/issues/9468)) ([f4addcf](https://github.com/vitejs/vite/commit/f4addcf)), closes [#&#8203;9468](https://github.com/vitejs/vite/issues/9468) - chore(deps): update all non-major dependencies ([#&#8203;9478](https://github.com/vitejs/vite/issues/9478)) ([c530d16](https://github.com/vitejs/vite/commit/c530d16)), closes [#&#8203;9478](https://github.com/vitejs/vite/issues/9478) - docs: fix incomplete comment ([#&#8203;9466](https://github.com/vitejs/vite/issues/9466)) ([5169c51](https://github.com/vitejs/vite/commit/5169c51)), closes [#&#8203;9466](https://github.com/vitejs/vite/issues/9466) - feat(ssr): debug failed node resolve ([#&#8203;9432](https://github.com/vitejs/vite/issues/9432)) ([364aae1](https://github.com/vitejs/vite/commit/364aae1)), closes [#&#8203;9432](https://github.com/vitejs/vite/issues/9432) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNC41MS4wIiwidXBkYXRlZEluVmVyIjoiMzQuNTEuMCJ9-->
renovate-bot added 1 commit 2022-12-09 11:05:59 +00:00
chore(deps): update dependency vite to v4
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is passing
bb5e14db04
Author
Contributor

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: ui/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @sveltejs/kit@1.0.0-next.401
npm ERR! Found: vite@4.0.0
npm ERR! node_modules/vite
npm ERR!   vite@"^4.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^3.0.0" from @sveltejs/kit@1.0.0-next.401
npm ERR! node_modules/@sveltejs/kit
npm ERR!   dev @sveltejs/kit@"^1.0.0-next.324" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: vite@3.2.5
npm ERR! node_modules/vite
npm ERR!   peer vite@"^3.0.0" from @sveltejs/kit@1.0.0-next.401
npm ERR!   node_modules/@sveltejs/kit
npm ERR!     dev @sveltejs/kit@"^1.0.0-next.324" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /var/lib/renovatebot/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/lib/renovatebot/cache/others/npm/_logs/2022-12-09T11_05_30_603Z-debug-0.log

### ⚠ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: ui/package-lock.json ``` npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @sveltejs/kit@1.0.0-next.401 npm ERR! Found: vite@4.0.0 npm ERR! node_modules/vite npm ERR! vite@"^4.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vite@"^3.0.0" from @sveltejs/kit@1.0.0-next.401 npm ERR! node_modules/@sveltejs/kit npm ERR! dev @sveltejs/kit@"^1.0.0-next.324" from the root project npm ERR! npm ERR! Conflicting peer dependency: vite@3.2.5 npm ERR! node_modules/vite npm ERR! peer vite@"^3.0.0" from @sveltejs/kit@1.0.0-next.401 npm ERR! node_modules/@sveltejs/kit npm ERR! dev @sveltejs/kit@"^1.0.0-next.324" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /var/lib/renovatebot/cache/others/npm/eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! /var/lib/renovatebot/cache/others/npm/_logs/2022-12-09T11_05_30_603Z-debug-0.log ```
nemunaire merged commit 34d5ddfbaa into master 2022-12-11 22:16:09 +00:00
nemunaire deleted branch renovate/vite-4.x 2022-12-11 22:16:10 +00:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: teach/atsebay.t#41
No description provided.