Version 3.0.0
- Use
polyfill-libraryAPI to generate the polyfill files. Also use dependency resolution frompolyfill-library. - New option
excludesdo prevent certain dependencies from being included. - Avoid loading
Promise.prototype.finallywhenPromiseis 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.definePropertywhich is supported naively from IE 9 onward) then you should add them to theexcludeconfiguration option.