[wp-trac] [WordPress Trac] #56313: Add the ability to handle ES Modules and Import Maps

WordPress Trac noreply at wordpress.org
Wed Jan 31 18:14:45 UTC 2024


#56313: Add the ability to handle ES Modules and Import Maps
-------------------------------------+-------------------------------------
 Reporter:  idad5                    |       Owner:  luisherranz
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  6.5
Component:  Script Loader            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-unit-      |     Focuses:  javascript,
  tests commit                       |  performance
-------------------------------------+-------------------------------------

Comment (by swissspidy):

 In [changeset:"57503" 57503]:
 {{{
 #!CommitTicketReference repository="" revision="57503"
 Script Loader: Use a global variable in `wp_script_modules()`.

 This brings the function more in line with its related `wp_scripts()` and
 `wp_styles()` functions and makes it easier to reset the class instance in
 tests.

 Props westonruter, luisherranz.
 See #56313.
 }}}

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


More information about the wp-trac mailing list