-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 not transforming logical assignments for packages #36484
Conversation
Size Change: +57 B (0%) Total Size: 1.09 MB
ℹ️ View Unchanged
|
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.
It works! Not really sure why the core build process chokes when it sees ??=
but Gutenberg's does not. We can investigate that more thoroughly later though.
f0ba7f9
to
870305e
Compare
870305e
to
1739a51
Compare
I see that it fixes the issue in WP core. Let’s investigate options after |
Description
Logical assignment operators in packages are not being transformed when building for production builds. It's only being surfaced in the recent babel upgrade (#36244). This breaks the builds in Core so we have to publish new builds to fix this.
How has this been tested?
npm run build
packages/components/build-module/card/card/hook.js
??=
, there should be matches.Types of changes
Bug fix
Checklist:
*.native.js
files for terms that need renaming or removal).