You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an .editorconfig file is in your project and it sets max_line_length=off for the file you're formatting,
it will be interpreted as a printWidth of Infinity rather than being ignored
(which previously resulted in the default printWidth of 80 being applied, if not overridden by Prettier-specific configuration).
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 optional lightningcss dev dependency. If enabled, CSS files will be processed by Lightning CSS instead of PostCSS.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:
18.14.2->18.17.141.15.0->1.15.24.0.0->4.3.42.8.4->2.8.85.16.5->5.19.44.1.4->4.4.91.2.0->1.8.8Release Notes
vitejs/vite-plugin-vue (@vitejs/plugin-vue)
v4.3.4Compare Source
api(#177) (269121e), closes #177v4.3.3Compare Source
v4.3.2Compare Source
v4.3.1Compare Source
v4.3.0Compare Source
hoistStaticoption for script compilation (#198) (7466b4f), closes #198v4.2.3Compare Source
v4.2.2Compare Source
v4.2.1Compare Source
v4.2.0Compare Source
v4.1.0Compare Source
prettier/prettier (prettier)
v2.8.8Compare Source
This version is a republished version of v2.8.7.
A bad version was accidentally published and it can't be unpublished, apologies for the churn.
v2.8.7Compare Source
diff
Allow multiple decorators on same getter/setter (#14584 by @fisker)
v2.8.6Compare Source
diff
Allow decorators on private members and class expressions (#14548 by @fisker)
v2.8.5Compare Source
diff
Support TypeScript 5.0 (#14391 by @fisker, #13819 by @fisker, @sosukesuzuki)
TypeScript 5.0 introduces two new syntactic features:
constmodifiers for type parametersexport type *declarationsAdd missing parentheses for decorator (#14393 by @fisker)
Add parentheses for
TypeofTypeAnnotationto improve readability (#14458 by @fisker)Support
max_line_length=offwhen parsing.editorconfig(#14516 by @josephfrazier)If an .editorconfig file is in your project and it sets
max_line_length=offfor the file you're formatting,it will be interpreted as a
printWidthofInfinityrather than being ignored(which previously resulted in the default
printWidthof 80 being applied, if not overridden by Prettier-specific configuration).terser/terser (terser)
v5.19.4Compare Source
if..returnv5.19.3Compare Source
optional?.chains.v5.19.2Compare Source
v5.19.1Compare Source
</script>and HTML comments.asyncorstaticv5.19.0Compare Source
/*@​__MANGLE_PROP__*/annotation inobject.property, in addition to property declarations.v5.18.2Compare Source
v5.18.1Compare Source
v5.18.0Compare Source
/*@​__MANGLE_PROP__*/annotation, to mark properties that should be mangled.v5.17.7Compare Source
vRegExp flaginertDOM attribute to dompropsv5.17.6Compare Source
configurableandenumerable, used in Object.defineProperty, added to domprops (#1393)v5.17.5Compare Source
v5.17.4Compare Source
!class{})yield/awaitand its argumentv5.17.3Compare Source
this.v5.17.2Compare Source
varin hoisted functions.continuestatementv5.17.1Compare Source
.lengthwhen the source array might've been mutatedv5.17.0Compare Source
= undefineddefault argument in IIFE calls (#1366).lengthproperty when statically determinable@__KEY__annotation to mangle string literals (#1365)v5.16.9Compare Source
a?.b) (#1374)lhs_constantsoption, allowing to stop Terser from swapping comparison operands (#1361)v5.16.8Compare Source
reduce_varsimport.metaexpressions such that method calls are allowedv5.16.6Compare Source
reduce_varsimport.metaas a real AST node and not anobject.propertyvitejs/vite (vite)
v4.4.9Compare Source
v4.4.8Compare Source
moduleResolution: 'node16'(#13947) (aeef670), closes #13947v4.4.7Compare Source
optimizeDeps.includenot working with paths inside packages (#13922) (06e4f57), closes #13922config.baseto vite/env path (#13941) (8e6cee8), closes #13941import.meta.envdefine replacement without quotes (#13425) (883089c), closes #13425v4.4.6Compare Source
browserHashon optimized deps during build (#13906) (0fb2340), closes #13906wsinstead of the bundled one (#13901) (049404c), closes #13901v4.4.5Compare Source
defineConfig(#13792) (c971f26), closes #13792anywithstring(#13850) (4606fd8), closes #13850v4.4.4Compare Source
vite-error-overlaywith Escape key (#13795) (85bdcda), closes #13795v4.4.3Compare Source
v4.4.2Compare Source
v4.4.1Compare Source
v4.4.0Compare 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 optionallightningcssdev 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.jsonfiles. 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: falsewhen nocompilerOptions.targetis declared (#13 (7ef2472), closes #13708lastHMRTimestampof 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 #13438modulecondition (#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.9Compare 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.