-
-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Description
When I use targets: "> 0.25%, not dead"
for the "polyfill-corejs3" plugin, I get an error: Invalid Option: '0' is not a valid target
. This also happens when I pass an array (even though I am not sure if this is allowed anyway.
Passing an object works { firefox: 43 }
. Why is a string not working?
Also: I noticed, that my compiled file is still full of code which doesnt fit the target e.g. this one:
// Thank's IE8 for his funny defineProperty
var descriptors = !fails(function () {
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
});
I thought the goal of babel-polyfills is to get rid of all this?
Atm, the compiled file is actually bigger than what I had before.
agilgur5
Metadata
Metadata
Assignees
Labels
No labels