[wp-trac] [WordPress Trac] #50328: Enqueue script and style assets only for blocks present on the page
WordPress Trac
noreply at wordpress.org
Tue May 11 09:30:22 UTC 2021
#50328: Enqueue script and style assets only for blocks present on the page
-------------------------------------------------+-------------------------
Reporter: aduth | Owner: gziolo
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.8
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses: javascript
needs-dev-note |
-------------------------------------------------+-------------------------
Comment (by gziolo):
A note to the better version of myself for future use. To ignore CSS files
in `src/wp-includes/blocks` we need to set `svn:ignore` property for every
folder. In case we add new folders, we will need to run the following
again from the `blocks` folder or a modified version for a new folder:
{{{
svn propset svn:ignore '*.css' . --recursive
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50328#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list