[wp-trac] [WordPress Trac] #60232: Modules API: Add import map polyfill
WordPress Trac
noreply at wordpress.org
Thu Jan 11 17:03:30 UTC 2024
#60232: Modules API: Add import map polyfill
---------------------------+-------------------------
Reporter: luisherranz | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.5
Component: Script Loader | Version:
Severity: major | Resolution:
Keywords: | Focuses: javascript
---------------------------+-------------------------
Comment (by gziolo):
We have a solution to conditionally load the polyfill only in the browsers
that don’t implement natively import maps. Therefore there is no risk of
introducing backward compatibility issue by exposing the additional
features that polyfill provides because the same features don’t exist
today for 90% of browser clients used by users as of today. It seems that
mirroring how Gutenberg loads the polyfill would conclude the task.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60232#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list