[wp-trac] [WordPress Trac] #64933: Block library styles are present in two locations

WordPress Trac noreply at wordpress.org
Tue Mar 24 14:03:50 UTC 2026


#64933: Block library styles are present in two locations
------------------------------+---------------------
 Reporter:  desrosj           |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  7.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+---------------------

Comment (by desrosj):

 In [changeset:"62103" 62103]:
 {{{
 #!CommitTicketReference repository="" revision="62103"
 Build/Test Tools: Only copy block library-related CSS to a single
 location.

 Since [61438], all CSS files for the block library are being copied twice
 into two separate locations: `wp-includes/blocks/BLOCKNAME/` (the previous
 location) and `wp-includes/css/dist/block-library/BLOCKNAME/`.

 Since the copies added to the `css/dist` directory are not actually being
 used and moving the files was the original intention in [61438], this adds
 an exclusion rule to the `grunt copy:gutenberg-styles` task to allow the
 `tools/gutenberg/copy.js` script to handle these files.

 Props jorbin, youknowriad.
 See #64933.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64933#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list