chore(deps): update dependency vite to v2.9.13 - autoclosed #32
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.3.7
->2.9.13
Release Notes
vitejs/vite
v2.9.13
Compare Source
Please refer to CHANGELOG.md for details.
v2.9.12
Compare Source
v2.9.11
Compare Source
v2.9.10
Compare Source
configurePreviewServer
(#7658) (#8437) (7b972bc), closes #7658 #8437?used
hack (fixes #6421, #8245) (#8278) (#8471) (8d7bac4), closes #6421 #8245 #8278 #8471v2.9.9
Compare Source
strip-literal
to strip string lterals (#8054) (b6fc3cd), closes #8054v2.9.8
Compare Source
v2.9.7
Compare Source
server.origin
config trailing slash (fix #6622) (#7865) (5c1ee5a), closes #6622 #7865v2.9.6
Compare Source
apply
condition skipped for nested plugins (#7741) (1f2ca53), closes #7741isSelfAccepting
tofalse
for any asset not processed by importAnalysis (#7898) (0d2089c), closes #7898v2.9.5
Compare Source
v2.9.4
Compare Source
v2.9.3
Compare Source
v2.9.2
Compare Source
$ vite preview
404 handling (#7665) (66b6dc5), closes #7665data-uri
function. (#7400) (08e39b7), closes #7400require
call (#7582) (5d6ea8e), closes #7582target
anduseDefineForClassFields
(#7698) (0c928aa), closes #7698v2.9.1
Compare Source
v2.9.0
Compare 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
raw
modifier syntax has changed to using{ as: 'raw' }
, which works in the same way as the?raw
suffix in regular imports:The
{ assert: { type: 'raw' }}
syntax introduced in v2.8 has been deprecated. See #7017 for more information.envDir
changesThe
envDir
now correctly loads.env
files 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.env
files to the correct directory, or configure theenvDir
option.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.
importedCss
andimportedAssets
to RenderedChunk typeReplace the internal
chunkToEmittedCssFileMap
andchunkToEmittedAssetsMap
variables with public properties added by Vite toRenderedChunk
objects in therenderChunk
phase. 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
module
field when the importer is arequire
call (#7438) (fe4c1ed), closes #7438ssrExternal
should not skip nested dependencies (#7154) (f8f934a), closes #7154import.meta.url
should not throw (#7219) (5de3a98), closes #7219localhost
as a valid hostname (#7092) (4194cce), closes #7092{ assert: { type: raw }}
in favor of{ as: raw }
(fix #7017) (#7215) (87ecce5), closes #7017 #7215Features
importedCss
andimportedAssets
to 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)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.
This PR has been generated by Mend Renovate. View repository job log here.