-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Use provider.runtime to guess esbuild target #126
Comments
hi @Mihailoff, thanks for the request, it makes sense. |
Agreed this is a nice to have feature One FYI, the provider:
runtime: nodejs14.x
custom:
esbuild:
target: node14 provider:
runtime: nodejs12.x
custom:
esbuild:
target: node12 Source: https://esbuild.github.io/api/#target That way you don't need to worry about which es version is compatible with which node version, |
… fallback to default node10 fix #126
…runtime Feature/#126 improve default runtime
🎉 This issue has been resolved in version 1.12.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
A nice to have feature request.
Docs say
Plugin could use
provider.runtime
to change the target accordinglyIn my case I ended up with
And thank you for the super fast compiler!
The text was updated successfully, but these errors were encountered: