Skip to content

Commit 5c8d1ec

Browse files
committed
Fix production build
1 parent 0ee594a commit 5c8d1ec

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

packages/babel-preset-default/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Breaking Changes
6+
7+
- Use React's automatic runtime to transform JSX ([#61692](https://github.com/WordPress/gutenberg/pull/61692)).
8+
59
## 7.42.0 (2024-05-16)
610

711
## 7.41.0 (2024-05-02)

packages/components/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- Replaced `classnames` package with the faster and smaller `clsx` package ([#61138](https://github.com/WordPress/gutenberg/pull/61138)).
1010
- Upgrade `@use-gesture/react` package to `^10.3.1` ([#61503](https://github.com/WordPress/gutenberg/pull/61503)).
1111
- Upgrade `framer-motion` package to version `^11.1.9` ([#61572](https://github.com/WordPress/gutenberg/pull/61572)).
12+
- Remove usage of deprecated spreading of `key` prop in JSX ([#61692](https://github.com/WordPress/gutenberg/pull/61692)).
1213

1314
### Enhancements
1415

packages/scripts/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Breaking Changes
6+
7+
- Use React's automatic runtime to transform JSX ([#61692](https://github.com/WordPress/gutenberg/pull/61692)).
8+
59
## 27.9.0 (2024-05-16)
610

711
### New Features

tools/webpack/development.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ module.exports = [
4848
},
4949
{
5050
...sharedConfig,
51+
mode:
52+
process.env.NODE_ENV === 'production'
53+
? 'production'
54+
: 'development',
5155
name: 'react-jsx-runtime',
5256
entry: {
5357
'react-jsx-runtime': {

0 commit comments

Comments
 (0)