I still don't get the differences between @babel/preset-env
.useBuiltIns: entry
and useBuiltIns: usage
#14443
-
Under the section of
So this sounds like it is doing the same thing as import 'core-js' and for testing, I only used 1 single feature that needs to be polyfills. But with
But I'm pretty sure that I didn't use things like
Any explain? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
There are two different "filters":
|
Beta Was this translation helpful? Give feedback.
There are two different "filters":
entry
only considers (1) (thus it optimizesimport "core-js"
to the minimum amount of imports needed for your targets), whileusage
also considers (2).