[wp-trac] [WordPress Trac] #65165: Script module dependencies may be unavailable on evaluation

WordPress Trac noreply at wordpress.org
Thu May 14 16:30:42 UTC 2026


#65165: Script module dependencies may be unavailable on evaluation
-------------------------------------------------+-------------------------
 Reporter:  jonsurrell                           |       Owner:
                                                 |  westonruter
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  high                                 |   Milestone:  7.0
Component:  Script Loader                        |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:  javascript
  note                                           |
-------------------------------------------------+-------------------------
Changes (by jorbin):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests needs-
     dev-note


Comment:

 > For a future release, I'd like to see an improved solution that
 leverages multiple importmaps that can be printed as necessary.

 100% agree. This might be something we just get when Firefox rolls out
 it's support more broadly so we should follow things there and potentially
 just wait, but I think it's worth ticketing for 7.1 so a proper decision
 can be made.

 I am adding `needs-devnote` since I think this would be good to document.
 I see that module_dependencies don't have a devnote, so if it is getting
 one, I am very ok with this being a part of that.

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


More information about the wp-trac mailing list