webpack-polyfill-injector
webpack-polyfill-injector copied to clipboard
Load from polyfill.io
Instead of creating thousands of individual polyfill files (or one big one), it would be neat to have an option of loading them from https://polyfill.io directly
This would invalidate the argument in the readme that it avoids a CDN, but it's a fair compromise to load individual/needed polyfills from a CDN than having thousands of files in your build.
Looking at the code, I believe it would be fairly straight forward to add this in. Maybe an option like fromCdn: true/false
Thanks for your suggestion. Unfortunately I don't have enough time right now to implement it myself, but feel free to post a PR for this. Otherwise I'll leave it open until I have more time or someone else picks it.