-
Notifications
You must be signed in to change notification settings - Fork 91
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 node v6 #24
Labels
resolved
Resolved issues
Comments
not all dangling commas are a problem, but they seem to be in function calls. in particular, this will trip up node v6 const a = Object.assign(
{"a": 1},
{"b": 2},
); but this will work const a = Object.assign(
{"a": 1},
{"b": 2}
); |
Thanks again for reporting this issue and directly creating a PR to fix it :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nextjs currently supports node v6, but using next-optimized-images fails when imported with the following
i believe this is because node v6 doesn't support trailing commas. there might be other issues, this is just the first error i hit. i'm exploring now if v6 is fully unsupported or if there are existing workarounds.
The text was updated successfully, but these errors were encountered: