Update Gutenberg Build tool to include the minified CSS#10685
Update Gutenberg Build tool to include the minified CSS#10685youknowriad wants to merge 1 commit intoWordPress:trunkfrom
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. |
|
The |
Good catch, that's the commit in the |
| }, | ||
| "gutenberg": { | ||
| "ref": "b79bbe25a1b00ce640bfab363f182c678181082f" | ||
| "ref": "dea73b609a80016eb1cf3893ea183fe106a06740" |
There was a problem hiding this comment.
Assuming this LGTM.4856d5d1842 is used, per Jarda's comment,
There was a problem hiding this comment.
Yes, this is a branch that is protected and only includes the build changes on top of the previous hash (to avoid bringing any new changes from Gutenberg, let's leave that separate for folks that do the back-porting)
There was a problem hiding this comment.
Thanks for explaining this, I retract my comments now 🙂
There was a problem hiding this comment.
OK, that makes sense.
Should we come up with some nomenclature for such branches? I suspect it's not the only time we'll push this sort of change, and I don't like the idea of our piling up protected branch names like fix/build-tool-old-hash-do-not-remove-branch in our admin panel with no traceability nor lifetime rules.
Trac ticket: https://core.trac.wordpress.org/ticket/64393
Description
Updates the Gutenberg hash to include WordPress/gutenberg#74380, which fixes the CSS build to generate both minified (.min.css) and non-minified (.css) versions. Previously, Gutenberg only produced a single CSS file, causing 404s when SCRIPT_DEBUG is false (Core expects .min.css files).
Testing