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

chore: drop support for Node.js 10 #7200

Merged
merged 3 commits into from May 17, 2021
Merged

chore: drop support for Node.js 10 #7200

merged 3 commits into from May 17, 2021

Conversation

mathiasbynens
Copy link
Member

@mathiasbynens mathiasbynens commented May 3, 2021

This is a prerequisite for shipping Puppeteer as JavaScript modules (#6753).

@jackfranklin I noticed that our tsconfig has target (and module) set at ESNext. Should we hardcode that at whatever our currently-supported Node.js versions support (in this case, that would be ES2019)?

This is a prerequisite for shipping Puppeteer as JavaScript modules.

Issue: #6753

BREAKING CHANGE: Node.js 10 is no longer supported.
@jackfranklin
Copy link
Collaborator

Regarding the tsconfig target - yeah I reckon we should target whatever the lowest Node we support supports? WDYT?

Also not sure why there are so many Prettier related failures on CI; those shouldn't have made it through onto main :/

@mathiasbynens
Copy link
Member Author

Apparently ES2019 is not a valid option for module specifically, so I went with the next best thing, which is ES2015.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants