Is your feature request related to a problem? Please describe.
I am using vue cli to build a single component. Can vite do this?
Describe the solution you'd like
https://cli.vuejs.org/guide/build-targets.html#library
Describe alternatives you've considered
https://cli.vuejs.org/guide/build-targets.html#library
Additional context
I want to implement remote loading of components in a browser environment.
Now, I assign it to the window variable after
It's doable by calling the underlying build API yourself with custom Rollup entry options.
But technically this is something that can be supported as built-in.
Let's track this in #330