Skip to content

Split polyfills.bundle.js into 2 files - one universal and one for IE #6954

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chriszrc opened this issue Jul 12, 2017 · 4 comments
Closed
Assignees
Labels
feature Issue that requests a new feature

Comments

@chriszrc
Copy link

chriszrc commented Jul 12, 2017

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Desired functionality.

It would be nice to separate the polyfill script into one that is needed for all browsers, and one that is only needed for IE. Looking at the sourcemap explorer, IE is responsible for more than half of the file size. Developers could conditionally load the IE polyfills only for IE, and save around 70kb for everyone else-

@filipesilva filipesilva added type: discussion feature Issue that requests a new feature labels Jul 28, 2017
@filipesilva filipesilva self-assigned this Jul 28, 2017
@filipesilva
Copy link
Contributor

How do you propose the conditional load happen though? I can see this already be possible with the scripts/assets functionality.

@aciccarello
Copy link
Contributor

This is related to #6577

@filipesilva
Copy link
Contributor

Closing in favor of that one, it does seem similar.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

3 participants