Make WebPack generate two JS bundles #5682
maxpatiiuk
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, WebPack outputs JS code with a lot of polyfills to support old and non-spec-compliant browsers.
Instead, WebPack should be made two output two bundles: one would be served for customers with modern browsers, and the other for old browsers.
This will provide better experience for users of modern browsers.
Additionally, it would be worth considering disabling all those polyfils in development to speed up build process
Beta Was this translation helpful? Give feedback.
All reactions