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

[improvement] we can provide a convenient tips that can show current project do not support some EcmaScipt, and guide user update related packages #139

Open
869288142 opened this issue Aug 5, 2022 · 0 comments

Comments

@869288142
Copy link

869288142 commented Aug 5, 2022

when i see Object.hasOwn, I try it in my project, but I do not know if it can be support. I analyse @babel/preset-env and find @babel/helper-define-polyfill-provider. I find entry or usage-global or usage-pure both call @babel/helper-define-polyfill-provider 's shouldInjectPolyfill methods. in this, we can console tips to guide users what EcmaScript is not support and what to do that user to do. for example

image

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

No branches or pull requests

1 participant