If I understood the idea of the microbundle correctly it would be great to use it for Svelte as well. Is it possible?
"Zero-configuration` bundler for tiny modules (/libraries)."
Microbunde is kinda made for libraries, not for bundling applications, what were you thinking of?
I am thinking about creating UI libraries (components) based on Svelte not applications.
For example grid component or calendar something like that :)
Then we could package the component into UMD build and provide to use as standalone and crossframework component. In fact you could replace svelte with any other framework with tiny output bundle (preact, hyperapp, etc). I am just interested in Svelte.
I love the idea, and I'm super interested in this type of compile-to-* setups!
That being said, Microbundle really isn't the right thing to build this on - doing this requires low-level bundler integration (for things like subresources, css, etc) that we can't provide. Rollup is super awesome and far more configurable than Microbundle, it's certainly a better place to start. We're working to reduce the scope of what Microbundle does so that we can be sure we're providing something valuable, rather than just another tool in a sea of tools :)
Most helpful comment
I am thinking about creating UI libraries (components) based on Svelte not applications.
For example grid component or calendar something like that :)
Then we could package the component into UMD build and provide to use as standalone and crossframework component. In fact you could replace svelte with any other framework with tiny output bundle (preact, hyperapp, etc). I am just interested in Svelte.