Skip to content

Commit

Permalink
Babel config: enable useSpread option for JSX transform to reduce tra…
Browse files Browse the repository at this point in the history
…nspilation (#51574)
  • Loading branch information
jsnajdr committed Jun 16, 2023
1 parent a72b4b1 commit abc528d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-preset-default/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ module.exports = ( api ) => {
{
pragma: 'createElement',
pragmaFrag: 'Fragment',
useSpread: true,
},
],
maybeGetPluginTransformRuntime(),
Expand Down

1 comment on commit abc528d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in abc528d.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5290574081
📝 Reported issues:

Please sign in to comment.