microbundle
microbundle copied to clipboard
Add example folder
add an example folder to share project configurations using microbundle.
the example I added is using:
- React
- Typescript
- Storybook
- Styled systems
- styled components
hopefully this will be helpful for new devs :)
Thanks for the PR, but what problem are you trying to solve here? Storybook is still using webpack to build it's things. So really all you're showing here is that microbundle can be used alongside Storybook. What would be cool, would be if Storybook was to consume the microbundle dev build. But even then this is a bundler...
Maybe this can be an example you could maintain in your own personal land, and we can ask @developit if we could reference it in the readme or something.
All in all, the maintainers here wouldn't want to now maintain examples, and test that all the examples still work etc...
thanks for the response @maraisr !
my first approach was what you said: https://github.com/developit/microbundle/pull/365. I think this is cleaner for the proyect too.
I'm happy to reopen/update/delete this PRs. I found examples really useful for newcomers to the project, and check how the setup (specially the setup) is done is really helpful.
Hope we can give the community a way to publish more examples as this one!
Let me know what you think 👍
I'd love a microbundle-examples repo.
Storybook is still using webpack to build it's things. So really all you're showing here is that microbundle can be used alongside Storybook. What would be cool, would be if Storybook was to consume the microbundle dev build.
Storybook now has a vite builder, which can replace webpack. Vite is mostly based on Rollup, with some esbuild sprinkled in where possible.
I wonder if Microbundle could be implemented on top of vite?