-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
fix(assets): hoist ?? inside JSON.stringify in virtual module codegen #15140
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
Moves ?? fallbacks before serialization to eliminate dead code in generated virtual module. Fixes esbuild suspicious-nullish-coalescing warning.
🦋 Changeset detectedLatest commit: 5beaf2b The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes |
|
Looks great! Could you just add a changeset? Something like "Fixes esbuild warning due to dead code in assets virtual module". I'd normally add it for you, but I think you disabled permissions to your fork. |
|
done |
Princesseuh
left a comment
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.
Awesome, thank you!
Closes #15136