Replies: 1 comment 3 replies
-
|
Common, widely used features won’t be removed, but could you share a few specific examples? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently migrating an existing old monorepo that has some apps and internal library packages containing thousands of files that were previously published as source (unbundled).
The journey so far:
Unbundled source → tsgo (types) + Vite 8 lib with preserveModules — this gave me faster build times.
preserveModules → entryPoints via fs.readdirSync — this was slower due to I/O overhead.
fs.readdirSync → globSync — as recommended in the Rolldown docs, using globSync to create the entry points brought performance back to where it was.
Now I'm tempted to move the library bundling to tsdown and only keep Vite for the actual app builds. As I understand it, tsdown is a nice opinionated wrapper around Rolldown, so my question is: am I leaving anything on the table by staying with Vite lib mode + Rolldown using the glob configuration described above?
I've read this discussion thread as well, but it is a bit dated and, given Vite+'s recent announcement, maybe an update would be nice.
Beta Was this translation helpful? Give feedback.
All reactions