[wp-trac] [WordPress Trac] #65007: Contents of some `.min.js` files are no longer minified
WordPress Trac
noreply at wordpress.org
Tue Apr 7 15:36:30 UTC 2026
#65007: Contents of some `.min.js` files are no longer minified
------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+---------------------
Comment (by ozgursar):
== Patch Testing Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11418
=== Environment
- WordPress: 7.1-alpha-20260407.182057
- PHP: 8.3.30
- Server: PHP.wasm
- Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
- Browser: Opera
- OS: macOS
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
* Test Reports 1.2.1
=== Steps taken
1. Run `npm run build` in your WordPress Develop folder cloned from the
GitHub repo [https://github.com/WordPress/wordpress-develop].
2. Observe the following files in `wp-includes/js/dist/vendor/` that they
are not minified.
- `wp-polyfill-node-contains.min.js`
- `wp-polyfill-dom-rect.min.js`
- `regenerator-runtime.min.js`
- `wp-polyfill-fetch.min.js`
3. Apply the patch.
4. Rerun `npm run build`.
5. Observe the files again and confirm that they are the minified
versions.
6. ✅ Patch is solving the problem.
=== Expected result
- We expect to see the minified versions of the `.min.js` files in the
`wp-includes/js/dist/vendor/` folder.
=== Screenshots/Screencast with results
Before
[[Image(https://core.trac.wordpress.org/raw-
attachment/ticket/65007/65007-before.png)]]
After
[[Image(https://core.trac.wordpress.org/raw-
attachment/ticket/65007/65007-after.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65007#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list