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

Support for dynamic import() #909

Closed
ejfrancis opened this issue Jun 2, 2017 · 2 comments

Comments

@ejfrancis
Copy link

commented Jun 2, 2017

With the dynamic import() spec at stage 3, it would be nice to allow import() statements.

Currently using an import() within a function gives this error:

Parsing error: 'import' and 'export' may only appear at the top level 
@ematipico

This comment has been minimized.

Copy link
Contributor

commented Jun 2, 2017

Duplicate of #751

@ejfrancis

This comment has been minimized.

Copy link
Author

commented Jun 2, 2017

👍 sorry for the dupe, couldn't find it when searching

@ejfrancis ejfrancis closed this Jun 2, 2017

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.