Caniuse: Add Dynamic Module Imports

Created on 6 Dec 2017  ·  12Comments  ·  Source: Fyrd/caniuse

it's really new and might be added to system in near future.
https://blog.chromium.org/2017/10/chrome-63-beta-dynamic-module-imports_27.html

Support data suggestion

Most helpful comment

Firefox 60 has been released, and includes this feature. I made mistake, Firefox 60 supports ES modules, but not dynamic import yet.

All 12 comments

Chrome 63 has been released, and includes this feature.

This merged pull request #3594 includes dynamic import, although it's shown value is false, which may be why it doesn't seem to show up in the website.

So shown value must be changed. Thanks for info

+1

+1

Firefox 60 has been released, and includes this feature. I made mistake, Firefox 60 supports ES modules, but not dynamic import yet.

Since import is very similar to import(), how will caniuse distinguish? I tried this to locate dynamic import() like this:
https://caniuse.com/#search=import()

Now available at https://caniuse.com/#feat=es6-module-dynamic-import

Now available at https://caniuse.com/#feat=es6-module-dynamic-import

@Fyrd The Notes says: ”A polyfill is available for Safari 10.1/iOS Safari 10.3”. However, the linked polyfill is for the nomodule attribute in script element, not dynamic module import.

I think that the polyfill link should be moved inside https://caniuse.com/#feat=es6-module, note 4.

Now available at https://caniuse.com/#feat=es6-module-dynamic-import

The link seems to be broken

@chharvey It works for me.

@Flimm now it works for me too. maybe it was just temporarily down

Firefox implemented in flag javascript.options.dynamicImport
https://bugzilla.mozilla.org/show_bug.cgi?id=1342012

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Schweinepriester picture Schweinepriester  ·  3Comments

36degrees picture 36degrees  ·  3Comments

valtido picture valtido  ·  3Comments

mirraj2 picture mirraj2  ·  3Comments

dnknn picture dnknn  ·  3Comments