Skip to content

Commit

Permalink
Fix production build
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed May 16, 2024
1 parent 0ee594a commit 5c8d1ec
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/babel-preset-default/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Changes

- Use React's automatic runtime to transform JSX ([#61692](https://github.com/WordPress/gutenberg/pull/61692)).

## 7.42.0 (2024-05-16)

## 7.41.0 (2024-05-02)
Expand Down
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Replaced `classnames` package with the faster and smaller `clsx` package ([#61138](https://github.com/WordPress/gutenberg/pull/61138)).
- Upgrade `@use-gesture/react` package to `^10.3.1` ([#61503](https://github.com/WordPress/gutenberg/pull/61503)).
- Upgrade `framer-motion` package to version `^11.1.9` ([#61572](https://github.com/WordPress/gutenberg/pull/61572)).
- Remove usage of deprecated spreading of `key` prop in JSX ([#61692](https://github.com/WordPress/gutenberg/pull/61692)).

### Enhancements

Expand Down
4 changes: 4 additions & 0 deletions packages/scripts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Changes

- Use React's automatic runtime to transform JSX ([#61692](https://github.com/WordPress/gutenberg/pull/61692)).

## 27.9.0 (2024-05-16)

### New Features
Expand Down
4 changes: 4 additions & 0 deletions tools/webpack/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ module.exports = [
},
{
...sharedConfig,
mode:
process.env.NODE_ENV === 'production'
? 'production'
: 'development',
name: 'react-jsx-runtime',
entry: {
'react-jsx-runtime': {
Expand Down

0 comments on commit 5c8d1ec

Please sign in to comment.