[wp-trac] [WordPress Trac] #64393: Change how we include Gutenberg in Core
WordPress Trac
noreply at wordpress.org
Fri Mar 27 18:24:54 UTC 2026
#64393: Change how we include Gutenberg in Core
------------------------------+--------------------------
Reporter: youknowriad | Owner: youknowriad
Type: task (blessed) | Status: closed
Priority: high | Milestone: 7.0
Component: Build/Test Tools | Version:
Severity: blocker | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------+--------------------------
Changes (by desrosj):
* status: reopened => closed
* resolution: => fixed
Comment:
Just wanted to share a high-level summary here, but I think this can be
closed out in favor of new, more specific tickets:
- The build script is stable and bundles the appropriate files from the
Gutenberg repository into this repository without the performance
degradation experienced by using a checkout of the actual `gutenberg`
repository.
- Running the `gutenberg` build script locally before building `wordpress-
develop` is no longer required.
- A number of changes have been made to remove nearly 900 files that were
incorrectly being included in the built package accounting for nearly 6MB.
- The change history of the files that were originally removed has
successfully been restored and those files are subject to version control
again. Follow up discussions can be had so that these file can be removed
when safe and appropriate.
Here is a collection of tickets that are related to this one and may or
may not have been noted already above for easy reference: #64925, #64909,
#64884, #64176, #64734, #64933.
There is one related ticket still opened that should be addressed before
7.0: #64874. And I have a long list of notes for follow up tickets to
create.
Notably, the spirit of the original goals is intact, and collectively are
solved:
- Making it easier to include PHP code from the Gutenberg repository.
- Consuming files built through the `wp-build` package in Core.
There's a lot of work that can be done, but this is a giant step forward
in many ways. Thank you to everyone who contributed to this the last 4
months!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64393#comment:252>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list