You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
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
The text was updated successfully, but these errors were encountered:
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 findentry
orusage-global
orusage-pure
both call@babel/helper-define-polyfill-provider
'sshouldInjectPolyfill
methods. in this, we can console tips to guide users what EcmaScript is not support and what to do that user to do. for exampleThe text was updated successfully, but these errors were encountered: