-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Next.js: Fix for @nx/react/plugin/storybook with SVGs #23210
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This issue RyanClementsHax/storybook-addon-next#100 involving storybook-addon-next and the nx plugin @nx/react/plugin/storybook was resolved RyanClementsHax/storybook-addon-next#101, but that fix didn't make it to this equivalent file here in @storybook/nextjs, making that issue still present when using Storybook 7 and @storybook/nextjs as the framework.
daves28
changed the title
[Bug] Update webpack.ts for @storybook/nextjs to match past changes made in storybook-addon-next, resolving compilation issues when using @nx/react/plugin/storybook
[Bug] Update webpack.ts for @storybook/nextjs to match past changes made in storybook-addon-next, resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs
Jun 26, 2023
daves28
changed the title
[Bug] Update webpack.ts for @storybook/nextjs to match past changes made in storybook-addon-next, resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs
Update webpack.ts for @storybook/nextjs to match past changes made in storybook-addon-next, resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs
Jun 26, 2023
valentinpalkovic
added
bug
nextjs
ci:daily
Run the CI jobs that normally run in the daily job.
labels
Jul 6, 2023
valentinpalkovic
changed the title
Update webpack.ts for @storybook/nextjs to match past changes made in storybook-addon-next, resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs
Next.js: Update webpack.ts for @storybook/nextjs to match past changes made in storybook-addon-next, resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs
Jul 6, 2023
valentinpalkovic
changed the title
Next.js: Update webpack.ts for @storybook/nextjs to match past changes made in storybook-addon-next, resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs
Jul 6, 2023
valentinpalkovic
approved these changes
Jul 7, 2023
valentinpalkovic
added
the
patch:yes
Bugfix & documentation PR that need to be picked to main branch
label
Jul 7, 2023
LGTM! Thank you for your contribution! |
JReinhold
pushed a commit
that referenced
this pull request
Jul 8, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
This was referenced Jul 8, 2023
Merged
shilman
changed the title
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs
Next.js: Fix compilation when using @nx/react/plugin/storybook with stories that contain SVGs
Jul 8, 2023
shilman
changed the title
Next.js: Fix compilation when using @nx/react/plugin/storybook with stories that contain SVGs
Next.js: Fix for @nx/react/plugin/storybook with stories that contain SVGs
Jul 10, 2023
shilman
changed the title
Next.js: Fix for @nx/react/plugin/storybook with stories that contain SVGs
Next.js: Fix for @nx/react/plugin/storybook with stories containing SVGs
Jul 10, 2023
8 tasks
JReinhold
pushed a commit
that referenced
this pull request
Jul 10, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
JReinhold
pushed a commit
that referenced
this pull request
Jul 10, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
JReinhold
pushed a commit
that referenced
this pull request
Jul 10, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
JReinhold
pushed a commit
that referenced
this pull request
Jul 10, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
JReinhold
pushed a commit
that referenced
this pull request
Jul 10, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 10, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 10, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 10, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 10, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 10, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 10, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 11, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 12, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
storybook-bot
pushed a commit
that referenced
this pull request
Jul 12, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
valentinpalkovic
changed the title
Next.js: Fix for @nx/react/plugin/storybook with stories containing SVGs
Next.js: Fix for @nx/react/plugin/storybook with SVGs
Jul 12, 2023
storybook-bot
pushed a commit
that referenced
this pull request
Jul 12, 2023
Next.js: Resolving compilation issues when using @nx/react/plugin/storybook with stories that contain SVGs (cherry picked from commit 8704b36)
github-actions
bot
added
the
patch:done
Patch/release PRs already cherry-picked to main/release branch
label
Jul 12, 2023
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
ci:daily
Run the CI jobs that normally run in the daily job.
nextjs
patch:done
Patch/release PRs already cherry-picked to main/release branch
patch:yes
Bugfix & documentation PR that need to be picked to main branch
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #
What I did
This issue RyanClementsHax/storybook-addon-next#100 involving storybook-addon-next and the nx plugin @nx/react/plugin/storybook was resolved RyanClementsHax/storybook-addon-next#101, but that fix didn't make it to this equivalent file here in @storybook/nextjs, making that issue still present when using Storybook 7 and @storybook/nextjs as the framework.
I simply copied and pasted the changes that were made there.
How to test
@nx/react/plugin/storybook
to themain.js
config addons property.nx storybook
and ensure the operation succeeds.Checklist
MIGRATION.MD
Maintainers
make sure to add the
ci:merged
orci:daily
GH label to it.["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]