Update dependency vite to v2.9.4 - autoclosed #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.8.6->2.9.4Release Notes
vitejs/vite
v2.9.4Compare Source
v2.9.3Compare Source
v2.9.2Compare Source
$ vite preview404 handling (#7665) (66b6dc5), closes #7665data-urifunction. (#7400) (08e39b7), closes #7400requirecall (#7582) (5d6ea8e), closes #7582targetanduseDefineForClassFields(#7698) (0c928aa), closes #7698v2.9.1Compare Source
v2.9.0Compare Source
Faster Cold Start
Before 2.9, the first time dev was run on a project Vite needed to perform a scan phase to discover dependencies and then pre-bundle them before starting the server. In 2.9 both scanning #7379 and pre-bundling #6758 of dependencies are now non-blocking, so the server starts right away during cold start. We also now allow requests to flow through the pipeline improving initial cold start load speed and increasing the chances of discovering new missing dependencies when re-processing and letting Vite populate the module graph and the browser to process files. In many cases, there is also no need to full-reload the page when new dependencies are discovered.
CSS Sourcemap support during dev (experimental)
Vite now supports CSS sourcemaps #7173. This feature is still experimental, and it is disabled by default to avoid incurring a performance penalty for users that don't need it. To enable it, set css.devSourcemap to
true.Avoid splitting vendor chunks by default
Vite's default chunking strategy was a good fit for most SPAs, but it wasn't ideal in some other use cases. Vite doesn't have enough context to make the best decision here, so in Vite 2.9 the previous chunking strategy is now opt-in #6534 and Vite will no longer split vendor libs in a separate chunk.
Web Workers enhancements
Web Workers now supports source map generation (see #5417). The implementation is also now more robust, fixing several issues encountered in previous versions (#6599).
Raw Glob Imports
Glob imports support for the
rawmodifier syntax has changed to using{ as: 'raw' }, which works in the same way as the?rawsuffix in regular imports:The
{ assert: { type: 'raw' }}syntax introduced in v2.8 has been deprecated. See #7017 for more information.envDirchangesThe
envDirnow correctly loads.envfiles in the specified directory only (defaults toroot). Previously, it would load files above the directory, which imposed security issues. If you had relied on the previous behaviour, make sure you move your.envfiles to the correct directory, or configure theenvDiroption.New tools for Plugin and Framework Authors
Client Server Communication API
Vite now provides utilities for plugins to help handle the communication with clients connected to Vite's server #7437. Reusing the open WebSocket connection between the server and clients several use cases can be simplified (vite-plugin-inspect, SliDev, and many others). Check out the Client Server Communication docs for more information.
importedCssandimportedAssetsto RenderedChunk typeReplace the internal
chunkToEmittedCssFileMapandchunkToEmittedAssetsMapvariables with public properties added by Vite toRenderedChunkobjects in therenderChunkphase. These is useful for Vite-based frameworks that generate their own HTML. See #6629.Optimize Custom Extensions (experimental)
A new
optimizeDeps.extensions: string[]option is available to enable pre-bundling of custom extensions. A respective esbuild plugin is required to handle that extension. e.g.['.svelte', '.svelte.md']. See #6801 for more information.Bug Fixes
modulefield when the importer is arequirecall (#7438) (fe4c1ed), closes #7438ssrExternalshould not skip nested dependencies (#7154) (f8f934a), closes #7154import.meta.urlshould not throw (#7219) (5de3a98), closes #7219localhostas a valid hostname (#7092) (4194cce), closes #7092{ assert: { type: raw }}in favor of{ as: raw }(fix #7017) (#7215) (87ecce5), closes #7017 #7215Features
importedCssandimportedAssetsto RenderedChunk type (#6629) (8d0fc90), closes #6629Beta Changelogs
2.9.0-beta.11 (2022-03-29)
See 2.9.0-beta.11 changelog
2.9.0-beta.10 (2022-03-28)
See 2.9.0-beta.10 changelog
2.9.0-beta.9 (2022-03-26)
See 2.9.0-beta.9 changelog
2.9.0-beta.8 (2022-03-24)
See 2.9.0-beta.8 changelog
2.9.0-beta.7 (2022-03-23)
See 2.9.0-beta.7 changelog
2.9.0-beta.6 (2022-03-22)
See 2.9.0-beta.6 changelog
2.9.0-beta.5 (2022-03-22)
See 2.9.0-beta.5 changelog
2.9.0-beta.4 (2022-03-19)
See 2.9.0-beta.4 changelog
2.9.0-beta.3 (2022-03-16)
See 2.9.0-beta.3 changelog
2.9.0-beta.2 (2022-03-14)
See 2.9.0-beta.2 changelog
2.9.0-beta.1 (2022-03-14)
See 2.9.0-beta.1 changelog
2.9.0-beta.0 (2022-03-09)
See 2.9.0-beta.0 changelog
2.8.6 (2022-03-01)
Bug Fixes
2.8.5 (2022-02-28)
Bug Fixes
import.meta.url(#6983) (2debb9f).ico(#7106) (7a1a552)Features
2.8.4 (2022-02-18)
Bug Fixes
2.8.3 (2022-02-15)
Bug Fixes
2.8.2 (2022-02-14)
Features
import.meta.globandimport.meta.globEagergeneric (#5073) (78e84c8)Performance Improvements
2.8.1 (2022-02-11)
Bug Fixes
Configuration
📅 Schedule: 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.