Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[runtime-corejs3] Only polyfill instance methods when it might be needed #9754
This PR allows instance methods polyfills to specify on which base type they need to be applied. If Babel is 100% that it is called on another instance type, it will avoid polyfilling it.
Other instance methods could be optimized, but if this PR lands I'll leave it as a
1 similar comment
…nings Right now we see: Critical dependency: the request of a dependency is an expression I've tracked it somewhat to the need to do a big update in Stopify from babel-core to @babel/core. That's going to be an undertaking, so allowing the build to finish with these warnings and still deploy.