-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
[corejs3] Do no injected constructor polyfills for static props #201
[corejs3] Do no injected constructor polyfills for static props #201
Conversation
@@ -1,7 +1,6 @@ | |||
import "core-js/modules/es.array.iterator.js"; | |||
import "core-js/modules/es.array-buffer.slice.js"; | |||
import "core-js/modules/es.object.to-string.js"; | |||
import "core-js/modules/es.typed-array.int8-array.js"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zloirock Does Int8Array.of();
need this polyfill?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, since in some cases required fixing or complete replacement of typed arrays. In core-js@4
it will not be required since, unlike core-js@3
, that relies on the presence of a basic typed arrays support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the deps list to add it back.
9c8eb95
to
34ba89b
Compare
If we take this into consideration it might be better to implement "skip sub-paths". |
34ba89b
to
b84bd3d
Compare
The first commit implements the capability, the second one uses it for core-js.
Fixes #80