Roadmap #153
Replies: 12 comments 16 replies
-
@yyx990803 I found out vite-compatible open source project called farm, which is implemented in Rust. |
Beta Was this translation helpful? Give feedback.
-
Congrats on the progress so far 💪 I remember that you addressed the lack of first party module federation support during your 2023 keynote "The State of Vite". |
Beta Was this translation helpful? Give feedback.
-
Exciting! I'd love to try it out soon. One thing that would be great is some sort of repl / playground like rollup, esbuild, and oxc have |
Beta Was this translation helpful? Give feedback.
-
Is "bundled" mode meant to be on the roadmap as well? See https://twitter.com/youyuxi/status/1730412728333025635?s=46 for context. Or more specifically https://x.com/youyuxi/status/1730855549863178698?s=46. It's common to have packages in a monorepo that export lots of code from a single entry point (instead of requiring deep imports into the package which would sort of work like manual tree shaking). In my app, I was hoping to make use of lazy loading to help with unnecessary modules getting loaded, but importing just a single thing from a fat monorepo package ended up pulling in everything 🥲 |
Beta Was this translation helpful? Give feedback.
-
One pain point with Vite+Rollup currently is using libraries that require polyfilling and resolving Node global variables like Process, Buffer, Crypto, etc. We have some dependencies that worked fine with Webpack polyfill plugins but spent a fair amount of time working on implementing Vite & Rollup plugins, aliases, and updating our own libraries to make it work. If this seems like something worth addressing I can provide specific examples. |
Beta Was this translation helpful? Give feedback.
-
What is the difference between Rolldown and Rspack |
Beta Was this translation helpful? Give feedback.
-
What about the HMR? As I know the HRM not exists in rollup at all. Will Rolldown supports this feature from the beginning out of the box? Or it still will be esbuild? |
Beta Was this translation helpful? Give feedback.
-
I love that this considers Module Federation, but you know that I also see it as necessary, something solid that brings out the best of vite to integrate with Single SPA |
Beta Was this translation helpful? Give feedback.
-
I thought I'd mention that for milestone 3, the team here might need to help contribute some improvements to oxc before switching to it for minification. I did a bit of testing between oxc and esbuild and found that esbuild produces smaller output today. The oxc team stated that they currently don't have the bandwidth to work on minification and closed my issues, so I'm guessing the gap won't get closed without some efforts from this side. oxc-project/oxc#2646 for reference (note that in this issue esbuild does not produce optimal output either, but there are others where esbuild excels relative to oxc) |
Beta Was this translation helpful? Give feedback.
-
A minifier is mentioned in oxc website as one feature they want to implement. At the same time, CSS processing by leveraging Lightning CSS is considered in the development of rolldown. As I understand, you plan to develop CSS minifier and CSS transformation in rolldown with lightningCSS, while resorting to oxc for minifying and transforming JavaScript. Is that correct? |
Beta Was this translation helpful? Give feedback.
-
Will the css bundling be done by having a CSS entry file such as index.css, or will be done using a JS entry file such as index.js using import method? |
Beta Was this translation helpful? Give feedback.
-
will you provide the feature to preserve the complete folder structure between src/ and dist/ in rolldown by default with any required configuration? |
Beta Was this translation helpful? Give feedback.
-
This roadmap outlines the high-level milestones that we intend to follow as we progress with Rolldown's development, but is subject to frequent adjustment as things go.
Milestone 1: Basic Bundling
Milestone 2: Advanced Bundling
Milestone 3: Transform Features
Milestone 4: Deeper Vite Integration
ssrLoadModule
) to Rust, eliminate SSR externalsSide Features
Don't fit in a specific milestone but good to be tackled whenever possible
Beta Was this translation helpful? Give feedback.
All reactions