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 dynamic import() #1003

Closed
Rich-Harris opened this issue Dec 11, 2017 · 0 comments · Fixed by #1004
Closed

Support dynamic import() #1003

Rich-Harris opened this issue Dec 11, 2017 · 0 comments · Fixed by #1004

Comments

@Rich-Harris
Copy link
Member

Just started playing around with Svelte+webpack (probably something I should have tried to get my head round a long time ago), and immediately ran into an annoyance — because acorn doesn't support dynamic import(...), neither does Svelte.

It'd be nice if that worked out of the box. There's a plugin for it, so it should be relatively straightforward.

Open question whether any other ESnext stuff should be supported, but I think import(...) passes whatever threshold we'd set.

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

Successfully merging a pull request may close this issue.

1 participant