Build: Faster Gutenberg Builds#10688
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
For reference, I compared the build step in three jobs: 1- Before the move to the new integration flow 1m19 seconds So I think with this PR we're effectively back to similar decent performance levels for the build commands and comparable to previous jobs without losing the benefits for the "checkout & build" approach. |
This updates the Gutenberg build integration to use the new --fast flag, which skips TypeScript-related steps (version validation, tsc --build, and type declaration checks) that aren't needed when building for WordPress Core. These steps only produce .d.ts type declaration files which aren't shipped with Core.
The Gutenberg ref is also updated to include the commit that adds the --fast flag support.
Trac ticket: https://core.trac.wordpress.org/ticket/64393