Vite 6 #15886
Replies: 16 comments 12 replies
-
For me the following 2 PRs is what I'm really waiting for. I'm assuming that they should be merged in v5 but since they've been opened for a while now, are they better suited for v6? Maybe Parcel Watcher could be on v6.
CSP (Content Security Policy) is most probably what a lot of users are waiting for. I would really like to see Vite supporting CSP out of the box for both Dev and Prod environments with the same code base. Another subject that I'm having difficulties also is highlighted in the Discussion below in HMR/Watch in Library Mode, it would be great if Vite could implement this too ahh wait, there's also this old issue which was opened by Evan |
Beta Was this translation helpful? Give feedback.
-
I would love to see #15395 included in an upcoming major or minor release. It fixes one of the major underlying causes of an infinite hang (#11468) which is currently the second-most discussed issue of all time (with 158+ replies since 2022). I know this silent hang can be a significant source of frustration because there's no actionable feedback or error messages and it has proven especially challenging for developers to debug. Working around this problem can be nearly impossible if import graphs are large and difficult to refactor, so an upstream fix would be super helpful. |
Beta Was this translation helpful? Give feedback.
-
I would love to see import attributes being supported and provided to plugins. #12140 was closed on the premise that import assertions were being phased out, but import attributes (their replacement) are now both in TC39 stage 3 and fully supported by Typescript. |
Beta Was this translation helpful? Give feedback.
-
What could be great is a custom error modal. |
Beta Was this translation helpful? Give feedback.
-
Can Vite support bundleless transform? Preserve directory structure and only transpile code. It helps to customize |
Beta Was this translation helpful? Give feedback.
-
Hey! We decided to release the Environment API branch as If you are building a framework or are working in a Runtime (like the Cloudflare team), the next months are going to be very important to get the APIs right and serve as the base for the next iteration. We're thinking on taking a lifting responsibilities to be able to share more in the ecosystem. For example, we're introducing the concept of a Please check out the current Environment API docs and give us feedback. We created a new discussion to gather feedback about the new APIs. And if you think someone you know would be interested in helping us testing (Ecosystem CI is failing for 1/3 of downstream projects now) and creating prototypes (Workerd framework-agnostic integrations, RSC, etc), please contact them and send them the PR and the discussion. |
Beta Was this translation helpful? Give feedback.
-
Seems there's no way to add build cache for vite project |
Beta Was this translation helpful? Give feedback.
-
No hope for #1579 ? |
Beta Was this translation helpful? Give feedback.
-
I hope this problems with loading 3000+ components in development mode of large project will be solved. Maybe batch, chanks or another algorithm. Issue: #13570 |
Beta Was this translation helpful? Give feedback.
-
This is a great feat, look forward to the birth of the rolldown! |
Beta Was this translation helpful? Give feedback.
-
Any plans to support custom project templates the way you could do with CRA? |
Beta Was this translation helpful? Give feedback.
-
What do you think to use Some advantages/benefits:
My current settings: // vite.config.ts
export default {
cacheDir: '.vite',
build: {
outDir: '.vite/dist'
}
} |
Beta Was this translation helpful? Give feedback.
-
I would really appreciate to see this issue fixed - 13672. Currently I'm using Vite 5 and my chunks gets different hashes even when the code wasn't changed. All the suggested workarounds didn't work for me. |
Beta Was this translation helpful? Give feedback.
-
What about to replace FYI @privatenumber |
Beta Was this translation helpful? Give feedback.
-
For visibility, the beta.3 seems to have introduced a regression, producing larger chunks during build: |
Beta Was this translation helpful? Give feedback.
-
Out of curiosity, I wonder what is the rough estimate of Vite 6 release? I'm asking because it was mentioned that it would probably happen this year but the EOY is not that far away anymore. Also, if a release does happen this year then will it keep current Node 18 requirement or will that bump to Node 20? Because that too is not that far away anymore. Cheers |
Beta Was this translation helpful? Give feedback.
-
We're starting a discussion to gather early feedback from the downstream ecosystem and users about their needs for Vite's next Major.
Before commenting, please review current open issues and check the previous Vite Major discussions:
Feel free to bring back proposals if you want to expand on them. If possible, create an issue for your feature and link it to this discussion so we can better track the proposal.
Timeline
We've been aligning Vite's major releases with Node EOL. In Vite 5, we dropped both Node 14 and 16. The next EOL of Node's LTS version (Node 18) is in May 2025 which is far away from now. We discussed with the Vite team so far is that Vite 6 will be released as needed this year.
Node.js versions EOL
Initial thoughts
The changes that would trigger this new major could be:
ssrLoadModule
can be implemented on top of itCheck out the Vite 6 milestone, we'll keep it updated with new issues and PRs as we work towards the next Major. We're eager to hear your feedback and ideas.
Note: We started work on Vite 6 prompted by the new Environment API. Check out the rationale here.
Beta Was this translation helpful? Give feedback.
All reactions