Skip to content
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

fix(storybook): install core-js for non-vite libs #18115

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

mandarini
Copy link
Member

Current Behavior

@storybook/react-webpack5 cannot build libs because it needs core-js.

Expected Behavior

Install core-js if lib will use react-webpack5, so that it builds.

Related Issue(s)

Fixes #18109
storybookjs/storybook#23452

@mandarini mandarini requested review from a team as code owners July 14, 2023 11:26
@vercel
Copy link

vercel bot commented Jul 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2023 11:30am

@mandarini mandarini self-assigned this Jul 14, 2023
@nx-cloud
Copy link

nx-cloud bot commented Jul 14, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 6d8f6d6. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@mandarini mandarini merged commit 2a888ad into nrwl:master Jul 14, 2023
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 20, 2023
@mandarini mandarini deleted the fix/storybook-webpack5-libraries branch August 22, 2023 12:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Library with storybook configured using @storybook/react-webpack5 fails to run
2 participants