Repository navigation
build(docs-infra): upgrade @angular/cli to 8.0.0-beta.15, @angular/* to 8.0.0-beta.12, @angular/material to 8.0.0-beta.2 #29926
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
Changes from all commits
ba7aad9
9ad72b1
f970743
6921df7
b08c88a
afc6e7c
c5d27c4
a04a3cf
6550bed
488e950
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. | ||
| # For additional information regarding the format and rule options, please see: | ||
| # https://github.com/browserslist/browserslist#queries | ||
|
|
||
| # Googlebot uses an older version of Chrome | ||
| # For additional information see: https://developers.google.com/search/docs/guides/rendering | ||
|
|
||
| > 0.5% | ||
| last 2 versions | ||
| Firefox ESR | ||
| not dead | ||
| IE 9-11 # For IE 9-11 support. | ||
| Chrome 41 # For Googlebot support. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,9 +2,12 @@ | |
| "aio": { | ||
| "master": { | ||
| "uncompressed": { | ||
| "runtime": 2972, | ||
| "main": 479228, | ||
| "polyfills": 59197 | ||
| "runtime-es5": 2980, | ||
| "runtime-es2015": 2986, | ||
| "main-es5": 501356, | ||
| "main-es2015": 440336, | ||
| "polyfills-es5": 128751, | ||
| "polyfills-es2015": 59557 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there is no size reduction compared to v7 es5 polyfill bundle? that seems odd, zone.js alone should have helped to drop the size now that it should be differentially served. is that happening?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @clydin, do you know if Zone.js' differentiality is taken advantage of here?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's currently not implemented in the CLI.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did we forget to create a Jira item for this? We discussed it but might have forgotten to schedule. Can you please add to the backlog for v8? Thanks
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pushed a PR to add it in: angular/angular-cli#14273 |
||
| } | ||
| } | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we doubled the size of the polyfills compared to the previous version. do we know what's causing it? this seems like a size regression to fix.
// @filipesilva
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alan-agius4 @clydin I think you both looked at the polyfills changes with diff. loading, can you shed some light here (and on the comment below)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
polyfills-es5file includes the ES2015 polyfills (i.e. formerpolyfills.js) plus the ES5 specific polyfills, so it is expected to be larger.@IgorMinar, it is basically combining the former
polyfills.jswith our ie-polyfills.js.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was just typing a similar response. @gkalpak is correct. The CLI now automatically handles (and removes the need for) the
ie-polyfillsfile previously used in AIO.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. That makes sense. It’s a bit surprising but with an explanation it makes sense