Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add example folder#366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
horacioh wants to merge3 commits intodevelopit:master
base:master
Choose a base branch
Loading
fromhoracioh:feat/examples

Conversation

horacioh
Copy link

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 :)

@maraisr
Copy link
Contributor

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 thatmicrobundlecan 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...

@horacioh
Copy link
Author

thanks for the response@maraisr !

my first approach was what you said:#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 👍

@developit
Copy link
Owner

I'd love a microbundle-examples repo.

horacioh, ForsakenHarmony, gespispace, jacobgranberry, kermorgant, and haswalt reacted with thumbs up emoji

@devinrhode2
Copy link

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, whichcan 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?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@horacioh@maraisr@developit@devinrhode2

[8]ページ先頭

©2009-2025 Movatter.jp