Description
Is your feature request related to a problem? Please describe.
I'm a long time user of Vue in a webpack context and i'm giving a try to Vite.
So far It's been a pleasant journey : Dev mode is really impressive !
My project consists of several standalone Vue components that are instantiated on demand from Vanilla Javascript.
This is why they are currently built with the Webpack Library mode which works just fine.
I have successfully built these components with Vite (with dynamic import and everything) and they work juts fine on modern browser.
Describe the solution you'd like
I'd like to also build those components for legacy browsers... And this is currently not allowed (error message : "@vitejs/plugin-legacy does not support library mode").
I'd like to know if there is still hope for this specific use case ?... And I also like to mention that these legacy builds don't have to be as polished as the es ones (considering that they will only be served to a small percentage of our visitors).
While I wish to give the best experience to the vast majority of my users (equipped with modern browsers), I would be fine with monolithic builds, without any code splitting or dynamic imports for legacy browsers. Maybe with something like Rollup's "inlineDynamicImports" ? After all, these legacy builds should vanish eventually.
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.