Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dynamic Module Imports #3901

Closed
canarslan12 opened this issue Dec 6, 2017 · 12 comments
Closed

Add Dynamic Module Imports #3901

canarslan12 opened this issue Dec 6, 2017 · 12 comments

Comments

@canarslan12
Copy link

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

@Flimm
Copy link

Flimm commented Dec 8, 2017

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.

@canarslan12
Copy link
Author

So shown value must be changed. Thanks for info

@Aaronmacaron
Copy link

+1

1 similar comment
@claudepache
Copy link

+1

@Flimm
Copy link

Flimm commented May 15, 2018

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

@Fyrd Fyrd mentioned this issue May 21, 2018
@Lonniebiz
Copy link

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()

@Fyrd
Copy link
Owner

Fyrd commented Jun 15, 2018

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

@Fyrd Fyrd closed this as completed Jun 15, 2018
@claudepache
Copy link

claudepache commented Jun 15, 2018

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.

@chharvey

This comment has been minimized.

@Flimm
Copy link

Flimm commented Jul 10, 2018

@chharvey It works for me.

@chharvey
Copy link

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

@uasan
Copy link

uasan commented Jan 3, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants