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
Closed

Support for dynamic import() #909

ejfrancis opened this issue Jun 2, 2017 · 2 comments

Comments

@ejfrancis
Copy link

ejfrancis 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
Copy link
Member

Duplicate of #751

@ejfrancis
Copy link
Author

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

@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.
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants