Skip to content

Update Storybook setup following StyleX recommendation - #7

Merged
cixzhang merged 2 commits into
mainfrom
stylex-package-update
Jan 14, 2026
Merged

cixzhang merged 2 commits into
mainfrom
stylex-package-update

Conversation

@cixzhang

Copy link
Copy Markdown
Contributor

updating per recommendation following https://github.com/facebook/stylex/tree/main/examples/example-storybook. Also included the distribution proposal recommended by stylex. Tested by checking storybook still runs after yarn storybook

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 14, 2026
@cixzhang
cixzhang requested a review from mellyeliu January 14, 2026 01:02
}
```

### Consuming App (Next.js, Vite, Storybook, etc.)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anything other than NextJS should use the new unplugin which handles a lot of this for you! It's a lot simpler. The only messy one is NextJS unfortunately.

@cixzhang
cixzhang merged commit c1e0735 into main Jan 14, 2026
2 checks passed
@cixzhang
cixzhang deleted the stylex-package-update branch January 15, 2026 20:08
cixzhang added a commit that referenced this pull request Apr 26, 2026
* Update Storybook setup following StyleX recommendation

* Update .context/proposals/stylex-distribution.md

Co-authored-by: mellyeliu <[email protected]>

---------

Co-authored-by: mellyeliu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants