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

WordPress Trac noreply at wordpress.org
Thu May 7 11:19:46 UTC 2026


#65165: Script module dependencies may be unavailable on evaluation
---------------------------+-------------------------
 Reporter:  jonsurrell     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  high           |   Milestone:  7.0
Component:  Script Loader  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  javascript
---------------------------+-------------------------

Comment (by jonsurrell):

 Replying to [comment:4 jorbin]:
 > How much effort would be needed to update [61611] if the feature is
 reverted? If it's low/medium effort, then option A seems like the best
 option.

 I espree could be bundled into the
 [https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/lib/codemirror
 /javascript-lint.js javascript-lint.js] instead of using a dynamic import.
 @westonruter I'd love your thought on this.

 That should resolve any downsides and seems straightforward.

 This ties in with some thoughts I have about private modules. I'd like to
 be careful and judicious about what modules Core exposes and espree may
 not make a lot of sense as a Core module.

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


More information about the wp-trac mailing list