babel / babel-polyfills

A set of Babel plugins that enable injecting different polyfills with different strategies in your compiled code.
MIT License
333 stars 60 forks source link

[corejs3] Do no injected constructor polyfills for static props #201

Closed nicolo-ribaudo closed 7 months ago

nicolo-ribaudo commented 8 months ago

The first commit implements the capability, the second one uses it for core-js.

Fixes #80

liuxingbaoyu commented 7 months ago

If we take this into consideration it might be better to implement "skip sub-paths". But I thought that would be more complicated, and now it's fine to merge it.