-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error parsing files using import attributes #2
Labels
bug
Something isn't working
Milestone
Comments
Hey @zachleat ! |
This issue has preventing us from testing the web-features-explorer site locally for some time, so I'm very happy to see Acorn get support for import attributes! |
Shipping with v1.0.1 and Eleventy core v3.0.1-alpha.1 |
Core tracking issue at 11ty/eleventy#3580 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notably, this feature is not yet stable in Node.js: https://nodejs.org/docs/latest/api/esm.html#import-attributes
Upstream issue: acornjs/acorn#1289
@what1s1ove said it best: 11ty/eleventy#3128 (comment)
The easiest workaround is to use
require
in ESM as @uncenter notes here 11ty/eleventy#3128 (comment):The text was updated successfully, but these errors were encountered: