Version 3.0.0
- Use
polyfill-library
API to generate the polyfill files. Also use dependency resolution frompolyfill-library
. - New option
excludes
do prevent certain dependencies from being included. - Avoid loading
Promise.prototype.finally
whenPromise
is loaded anyways.
Migration from 2.x:
- Don't change anything.
- Inspect the generated polyfill file(s). Look at the comment at the beginning to see which dependencies are included.
- If you see dependencies that you do not care about (e.g.
Object.defineProperty
which is supported naively from IE 9 onward) then you should add them to theexclude
configuration option.