Skip to content

Commit

Permalink
Babel preset: Add missing files to package (WordPress#65481)
Browse files Browse the repository at this point in the history
Fix an issue where some files are not included in the published package:

@wordpress/babel-preset-default@8.8.0

---

Co-authored-by: sirreal <jonsurrell@git.wordpress.org>
Co-authored-by: noisysocks <noisysocks@git.wordpress.org>
Co-authored-by: gziolo <gziolo@git.wordpress.org>
Co-authored-by: sgomes <sergiomdgomes@git.wordpress.org>
  • Loading branch information
5 people committed Sep 19, 2024
1 parent 02e0ff3 commit e68646a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 10 additions & 2 deletions packages/babel-preset-default/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
<!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. -->

## Internal
## Unreleased

- Added `addPolyfillComments` option. When used, it will automatically add magic comments to mark files that need `wp-polyfill`.
### Bug Fixes

- Fix a bug in 8.8.1 due to missing files in the published package ([#65481](https://github.com/WordPress/gutenberg/pull/65481)).

## 8.8.0 (2024-09-19)

### Internal

- Added `addPolyfillComments` option. When used, it will automatically add magic comments to mark files that need `wp-polyfill` ([#65292](https://github.com/WordPress/gutenberg/pull/65292)).

## 8.7.0 (2024-09-05)

Expand Down
4 changes: 3 additions & 1 deletion packages/babel-preset-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
},
"files": [
"build",
"index.js"
"index.js",
"polyfill-exclusions.js",
"replace-polyfills.js"
],
"main": "index.js",
"dependencies": {
Expand Down

0 comments on commit e68646a

Please sign in to comment.