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

Unexpected Token when using node-globals with dynamic import #47

Open
osdevisnot opened this issue May 13, 2021 · 2 comments
Open

Unexpected Token when using node-globals with dynamic import #47

osdevisnot opened this issue May 13, 2021 · 2 comments

Comments

@osdevisnot
Copy link

👋 @calvinmetcalf

This might possibly be related to #14, but I am observing an error when the node-globals is used in combination dynamic imports.

I've created a minimal re-production of the issue here

If you run yarn build with above setup, rollup errors with:

image

NB: This issue was originally discovered in osdevisnot/klap#231

@reesericci
Copy link

same here

@lemoustachiste
Copy link

have you found a fix or a workaround for this?

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

3 participants