-
Notifications
You must be signed in to change notification settings - Fork 19
feat!: work with Storybook v10 #388
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for storybook-rsbuild ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
8bf388f to
25177ef
Compare
07532ff to
df8a35a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| pkgJson.exports = { | ||
| './package.json': './package.json', | ||
| ...data.extraOutputs, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guard optional extraOutputs when populating exports
The new build pipeline always spreads data.extraOutputs into pkgJson.exports. For most packages the build config does not set extraOutputs, so invoking scripts/build/build-package.ts (e.g. via pnpm --filter "./packages/*" run build or prep) throws TypeError: Cannot convert undefined or null to object before bundling even starts. This prevents all packages without extraOutputs (frameworks, addons) from building. Add a default or conditional spread so packages without extra outputs can be built.
Useful? React with 👍 / 👎.
resolve #364.
maintov2@module-federation/storybook-addonto v5