[wp-trac] [WordPress Trac] #61771: Script Modules: add the importmap's scopes key
WordPress Trac
noreply at wordpress.org
Tue Sep 24 14:32:07 UTC 2024
#61771: Script Modules: add the importmap's scopes key
---------------------------+------------------------------
Reporter: rosua | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 6.5
Severity: normal | Resolution:
Keywords: | Focuses: javascript
---------------------------+------------------------------
Comment (by jonsurrell):
The `scopes` property is not printed at this time because WordPress has no
use for it. It may in the future.
WordPress implements its own module system and tracks dependencies inside
of WordPress. This could open the door to things like versioned
dependencies. There are also some ideas to use scopes for localization
data. But at this time the module system inside WordPress simply has no
use for scopes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61771#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list