fix(deps): update dependency vite to v4.4.8 #9
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/vite-4.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
4.0.1
->4.4.8
Release Notes
vitejs/vite (vite)
v4.4.8
Compare Source
moduleResolution: 'node16'
(#13947) (aeef670), closes #13947v4.4.7
Compare Source
optimizeDeps.include
not working with paths inside packages (#13922) (06e4f57), closes #13922config.base
to vite/env path (#13941) (8e6cee8), closes #13941import.meta.env
define replacement without quotes (#13425) (883089c), closes #13425v4.4.6
Compare Source
browserHash
on optimized deps during build (#13906) (0fb2340), closes #13906ws
instead of the bundled one (#13901) (049404c), closes #13901v4.4.5
Compare Source
defineConfig
(#13792) (c971f26), closes #13792any
withstring
(#13850) (4606fd8), closes #13850v4.4.4
Compare Source
vite-error-overlay
with Escape key (#13795) (85bdcda), closes #13795v4.4.3
Compare Source
v4.4.2
Compare Source
v4.4.1
Compare Source
v4.4.0
Compare Source
Experimental support for Lightning CSS
Starting from Vite 4.4, there is experimental support for Lightning CSS. You can opt into it by adding
css.transformer: 'lightningcss'
to your config file and install the optionallightningcss
dev dependency. If enabled, CSS files will be processed by Lightning CSS instead of PostCSS.Lightning CSS can also be used as the CSS minifier with
build.cssMinify: 'lightningcss'
.See beta docs at the Lighting CSS guide.
esbuild 0.18 update
esbuild 0.18 contains backwards-incompatible changes to esbuild's handling of
tsconfig.json
files. We think they shouldn't affect Vite users, you can review #13525 for more information.Templates for Solid and Qwik in create-vite
New starter templates have been added to create-vite for Solid and Qwik. Try them online at vite.new/solid-ts and vite.new/qwik-ts.
Korean Translation
Vite's docs are now translated to Korean, available at ko.vitejs.dev.
Features
fs.allow
(#12863) (4a06e66), closes #12863Bug Fixes
useDefineForClassFields: false
when nocompilerOptions.target
is declared (#13 (7ef2472), closes #13708lastHMRTimestamp
of importers if the invalidated module is not a HMR bou (1143e0b), closes #13024export const { A, B }
pattern (#13483) (ea1bcc9), closes #13483--host 0.0.0.0
(#13438) (00ee8c1), closes #13438module
condition (#13370) (367920b), closes #13370Previous Changelogs
4.4.0-beta.4 (2023-07-03)
See 4.4.0-beta.4 changelog
4.4.0-beta.3 (2023-06-25)
See 4.4.0-beta.3 changelog
4.4.0-beta.2 (2023-06-22)
See 4.4.0-beta.2 changelog
4.4.0-beta.1 (2023-06-21)
See 4.4.0-beta.1 changelog
4.4.0-beta.0 (2023-06-20)
See 4.4.0-beta.0 changelog
v4.3.9
Compare Source
v4.3.8
Compare Source
v4.3.7
Compare Source
v4.3.6
Compare Source
tryFsResolve
for relativenew URL(foo, import.meta.url)
(#13142) (eeb0617), closes #13142esbuild.charset
when minify (#13190) (4fd35ed), closes #13190v4.3.5
Compare Source
v4.3.4
Compare Source
v4.3.3
Compare Source
v4.3.2
Compare Source
v4.3.1
Compare Source
v4.3.0
Compare Source
Vite 4.3 is out! Read the announcement blog post here
In this minor, we focused on improving the dev server performance. The resolve logic got streamlined, improving hot paths and implementing smarter caching for finding
package.json
, TS config files, and resolved URL in general.You can read a detailed walkthrough of the performance work done in this blog post by one of Vite Contributors: How we made Vite 4.3 faaaaster 🚀.
This sprint resulted in speed improvements across the board compared to Vite 4.2.
These are the performance improvements as measured by sapphi-red/performance-compare, which tests an app with 1000 React Components cold and warm dev server startup time as well as HMR times for a root and a leaf component:
You can read more information about the benchmark here
Features
isFileServingAllowed
as public utility (#12894) (93e095c), closes #12894data:
uris (#12645) (4886d9f), closes #12645Performance
depsCacheDirPrefix
value forisOptimizedDepFile
(#12601) (edbd262), closes #12601safeRealpath
ingetRealpath
(#12551) (cec2320), closes #12551Bug Fixes
buildStart
before server start (#12647) (871d353), closes #12647buildStart
only once when using next port (#12624) (e10c6bd), closes #12624charset: 'utf8'
by default for css (#12565) (c20a064), closes #12565Clean up
import.meta.url
condition from renderChunk hook of worker plugin (#12696) (fdef8fd), closes #12696ensureVolumeInPath
(#12690) (a3150ee), closes #12690resolvePackageData
inrequireResolveFromRootWithFallback
(#12712) (1ea38e2), closes #12712idToPkgMap
(#12564) (a326ec8), closes #12564Previous Changelogs
4.3.0-beta.8 (2023-04-19)
See 4.3.0-beta.8 changelog
4.3.0-beta.7 (2023-04-17)
See 4.3.0-beta.7 changelog
4.3.0-beta.6 (2023-04-14)
See 4.3.0-beta.6 changelog
4.3.0-beta.5 (2023-04-11)
See 4.3.0-beta.5 changelog
4.3.0-beta.4 (2023-04-09)
See 4.3.0-beta.4 changelog
4.3.0-beta.3 (2023-04-07)
See 4.3.0-beta.3 changelog
4.3.0-beta.2 (2023-04-05)
See 4.3.0-beta.2 changelog
4.3.0-beta.1 (2023-03-29)
See 4.3.0-beta.1 changelog
4.3.0-beta.0 (2023-03-23)
See 4.3.0-beta.0 changelog
v4.2.3
Compare Source
Please refer to CHANGELOG.md for details.
v4.2.2
Compare Source
v4.2.1
Compare Source
virtual:
to virtual module source map ignore (#12444) (c4aa28f), closes #12444v4.2.0
Compare Source
Vite 4.2 is out!
Support env variables replacement in HTML files
Vite now supports replacing env variables in HTML files. Any properties in
import.meta.env
can be used in HTML files with a special%ENV_NAME%
syntax:Sourcemaps improvements
The Chrome Dev Tools team has been working to improve the DX of Vite and Vite-powered frameworks in the dev tools. Vite 4.2 brings an improved experience and tools for framework authors to hide 3rd party code and build artifacts from the user from console log traces using
server.sourcemapIgnoreList
andbuild.rollupOptions.output.sourcemapIgnoreList
.ESM subpath imports
Vite 4.2 now supports subpath imports, thanks to @lukeed05's resolve.exports library.
TypeScript 5 support
Vite 4.2 also supports TypeScript 5's
tsconfig
extends
array format, thanks to tsconfck.esbuild 0.17
esbuild v0.17.0 improved the design of its incremental, watch, and serve APIs. Check out #11908 for the rationale of why we didn't consider the backward-incompatible changes breaking for our use cases. The updated esbuild design now allows Vite to properly cancel in-fly builds and improve server restarts.
Use Rollup types from the vite package
Expose Rollup types as a namespace. This is helpful to avoid type conflicts because of different versions of Rollup types in environments like vite-ecosystem-ci (#12316).
Português Docs Translation
The Vite documentation is now translated to Português at pt.vitejs.dev thanks to Nazaré Da Piedade .
Features
build.cssMinify
(#12207) (90431f2), closes #12207sourcemapIgnoreList
configuration option (#12174) (f875580), closes #12174build.target
if terser is 5.16.0+ (#12197) (9885f6f), closes #12197this.load
in plugin container context (#11469) (abfa804), closes #11469Bug Fixes
server.sourcemapIgnoreList
(#12251) (209c3bd), closes #12251resolve.exports
to2.0.1
to fix*
resolution issue (#12314) (523d6f7), closes #12314sources
for transformed source maps (#12079) (bcbc582), closes #12079Previous Changelogs
4.2.0-beta.2 (2023-03-13)
See 4.2.0-beta.2 changelog
4.2.0-beta.1 (2023-03-07)
See 4.2.0-beta.1 changelog
4.2.0-beta.0 (2023-02-27)
See 4.2.0-beta.0 changelog
v4.1.5
Compare Source
Please refer to CHANGELOG.md for details.
v4.1.4
Compare Source
v4.1.3
Compare Source
<noscript>
(#11764) (1dba285), closes #11764v4.1.2
Compare Source
crossOrigin
attribute (#12023) (6a0d356), closes #12023ssrTransform
parse error (#12060) (19f39f7), closes #12060import.meta.hot?.accept
(#12053) (081c27f), closes #12053v4.1.1
Compare Source
v4.1.0
Compare Source
Vite 4.1 updates to the latest versions of Rollup and esbuild. Check out the new Rollup docs, that are now powered by VitePress making the navigation between Vite and Rollup docs easier for users.
Vite docs got a theme update migrating to the latest version of VitePress.
As part of Vite 4, the Vue and React plugins have been extracted out of the monorepo. Although their release cycle will no longer follow Vite releases moving forward, Vite 4.1 is released in parallel with new versions of @vitejs/plugin-react and @vitejs/plugin-react-swc. @vitejs/plugin-react 3.1.0 reworks the way HMR is handled fixing many edge cases and @vitejs/plugin-react-swc 3.1.0 adds support for SWC plugins.
There is also a new major for @vitejs/plugin-legacy, see changelog for v4.0.0. This version contains breaking changes:
targets
default.Features
Bug Fixes
Previous Changelogs
4.1.0-beta.2 (2023-02-01)
See 4.1.0-beta.2 changelog
4.1.0-beta.1 (2023-01-26)
See 4.1.0-beta.1 changelog
4.1.0-beta.0 (2023-01-09)
See 4.1.0-beta.0 changelog
v4.0.5
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.4
Compare Source
v4.0.3
Compare Source
v4.0.2
Compare Source
toOutputFilePathWithoutRuntime
function (#11367) (8820f75), closes #11367vite optimize
prebundle for dev (#11387) (b4ced0f), closes #11387Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Branch automerge failure
This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
383c1bd779
to009ac7465d
009ac7465d
to71391bf1e4