-
Notifications
You must be signed in to change notification settings - Fork 42
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
Promise.withResolvers is always polyfilled even when not desired #438
Comments
What do we think about a change where there are no polyfills introduced at all for ScriptTarget::Latest ? Or some different way to opt out of polyfills altogether |
That would be good. It would be nice to be able to more easily opt out of polyfills too. |
Yes! I came here looking for some way to opt out of polyfills. (for me it's the Array.fromAsync, which has quite okay browser support nowadays). I read the whole README and read all about |
Found this issue for the same type error, and I am good with polyfilling myself. Click to see my rant/reasoningRushing forLatest instead of waiting for a proper named such as ES2024 doesn't feel right from the maintenance stand point.
Someone has to remember this random thing for an unspecified amount of time, it just feels uncomfortable. |
In our use case we are supplying our own polyfill for everything already so we set target to
"Latest"
to avoid dnt polyfills -- but sincePromise.withResolvers
is hardcoded to always polyfill, it's breaking our dnt generation runs:The text was updated successfully, but these errors were encountered: