verygoodsecurity / vgs-collect-js

VGS Collect.js script loading module
https://www.verygoodsecurity.com/
7 stars 17 forks source link

Bundle Size is large due to core-js inclusion #64

Open kenny-grubb opened 1 year ago

kenny-grubb commented 1 year ago

Expected Behavior

Most users do not need to support IE11. Either deprecate IE11 support, or include a modern build.

Current Behavior

This causes the bundle size to be large ... currently about 50KB (gzip size) of core-js polyfills are being included. If consumer does not need to support IE11, they do not need these polyfills