[wp-trac] [WordPress Trac] #64559: Build: copyBlockAssets fails when core block types directories contain subdirectories

WordPress Trac noreply at wordpress.org
Fri Jan 30 15:26:09 UTC 2026


#64559: Build: copyBlockAssets fails when core block types directories contain
subdirectories
--------------------------+------------------------------
 Reporter:  mcsf          |       Owner:  mcsf
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by mcsf):

 * owner:  (none) => mcsf
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61567" 61567]:
 {{{
 #!CommitTicketReference repository="" revision="61567"
 Build: Fix copyBlockAssets's handling of folders.

 When copying block-type assets from Gutenberg to Core, use Node's `fs.cp`
 instead of `fs.copy`. The former has much better semantics for wholesale
 copies.

 Fixes build failures arising from the introduction of subdirectories in
 the
 source directories of certain core block types.

 Reviewed by youknowriad.

 Fixes #64559.
 }}}

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


More information about the wp-trac mailing list