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

[Feature]: change lib/main.js target to node:10+ #926

Closed
hardfist opened this issue Mar 6, 2021 · 0 comments · Fixed by coda/packs-sdk#839
Closed

[Feature]: change lib/main.js target to node:10+ #926

hardfist opened this issue Mar 6, 2021 · 0 comments · Fixed by coda/packs-sdk#839

Comments

@hardfist
Copy link
Contributor

hardfist commented Mar 6, 2021

since lib/main.js always runs on node, and node 10+(node@8 already reaches ends-of-life) supports most esnext features,
I think it should transformed target to node10+ other than es2015( for performance and debugging), especially the transformed async/await is not easy to debug.

@hardfist hardfist changed the title [Feature]: lib/main.js should target to node:10 or higher node version [Feature]: lib/main.js should target to node:10+ Mar 6, 2021
@hardfist hardfist changed the title [Feature]: lib/main.js should target to node:10+ [Feature]: change lib/main.js target to node:10+ Mar 6, 2021
@evanw evanw closed this as completed in 59e6b64 Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant