[wp-trac] [WordPress Trac] #49144: Build Tools: do not include assets for JS dependencies that do not exist

WordPress Trac noreply at wordpress.org
Tue Jan 7 11:20:43 UTC 2020


#49144: Build Tools: do not include assets for JS dependencies that do not exist
------------------------------+-----------------------------
 Reporter:  jeherve           |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:  has-patch
  Focuses:  javascript        |
------------------------------+-----------------------------
 This is a follow-up for #48154, where we started including
 {{{*.asset.php}}} files to declare package dependencies.

 This works well but creates warnings in environments where the package
 does not exist because WordPress was not fully built. Could we bail in
 those scenarios and not try to include the file at all?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49144>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list