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

Note about System.import #454

Closed
danez opened this issue Nov 30, 2016 · 4 comments
Closed

Note about System.import #454

danez opened this issue Nov 30, 2016 · 4 comments

Comments

@danez
Copy link
Contributor

danez commented Nov 30, 2016

I was reading through the migration guide and noticed the section about System.import.
When reading it it sounds like System.import is already a thing and the new specified way of how to do dynamic loading, but it is not and probably never will be in its current form (see whatwg/loader#149, whatwg/loader#147 and https://github.com/tc39/proposal-dynamic-import).

I see that some users probably already use System.import and it's nice webpack supports the current spec, BUT It would probably be good to add a note that says that this is not a final specification and that it is very early stage and will be changing in future. I think users should be aware of that so that they can decide if they take the risk of a evolving and changing spec.

I also saw some other sections that said TODO document System.import which maybe should add the same.

@SpaceK33z
Copy link
Member

See webpack/webpack#3413, support for import() will probably land in the next beta.

@bebraw
Copy link
Contributor

bebraw commented Dec 13, 2016

Yeah, the current beta implements import(). System.import() can be considered deprecated now.

@prewk
Copy link
Contributor

prewk commented Dec 15, 2016

pull request #499 fixes the deprecated System.import stuff in the migration guide.

@bebraw
Copy link
Contributor

bebraw commented Dec 23, 2016

Closing since #499 was merged.

@bebraw bebraw closed this as completed Dec 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants