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

Dynamic Imports cause parse error #14

Open
jthoms1 opened this issue Aug 21, 2018 · 3 comments
Open

Dynamic Imports cause parse error #14

jthoms1 opened this issue Aug 21, 2018 · 3 comments

Comments

@jthoms1
Copy link

jthoms1 commented Aug 21, 2018

Any module containing import('./file.js) will fail with an acorn parsing error.

Currently this package uses its own copy of acorn. Newer releases of rollup are using acorn with the dynamic-import-plugin patch. Is it possible that this package could be changed to make use of the parser that is provided by Rollup within the Plugin context. https://github.com/rollup/rollup/wiki/Plugins#plugin-context

@tunnckoCore
Copy link

Yup. Still.

1 similar comment
@kenotron
Copy link

Yup. Still.

@sauravhiremath
Copy link

Yep, still!

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