Skip to content
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

build report is not correct for lazy chuck CSS #19858

Closed
asanoic opened this issue Jan 24, 2021 · 2 comments
Closed

build report is not correct for lazy chuck CSS #19858

asanoic opened this issue Jan 24, 2021 · 2 comments

Comments

@asanoic
Copy link

asanoic commented Jan 24, 2021

my angular.json file has following styles

                        "styles": [
                            "web-ui/styles.scss",
                            {
                                "input": "web-ui/lazy-style.scss",
                                "inject": false,
                                "bundleName": "lazy-style"
                            }
                        ],

and after I build using ng b --prod
the report like, the last line about budgets is not correct

✔ Browser application bundle generation complete.
✔ Copying assets complete.
✔ Index html generation complete.

Initial Chunk Files               | Names         |      Size
main.ea9cbd559e4c662834cb.js      | main          | 302.23 kB
polyfills.f9cd57347f1906e04ab2.js | polyfills     |  36.00 kB
runtime.65c4eb4be5736c726c25.js   | runtime       |   2.36 kB
styles.09e2c710755c8867a460.css   | styles        |   0 bytes

                                  | Initial Total | 340.59 kB

Lazy Chunk Files                  | Names         |      Size
lazy-style.css                    | lazy-style    | 204.04 kB
7.e3f997aaa1c1be1c5173.js         | -             |  77.22 kB
6.1580e9bc5113c363123d.js         | -             |  60.20 kB
8.a044aea76bce9286d877.js         | -             |  12.50 kB
10.96191d8497c9b3cc8a95.js        | -             |   8.16 kB
common.b410b99c2a6f6bf24f46.js    | common        |   1.53 kB
9.87240014e80b8c64a09f.js         | -             | 631 bytes

Build at: 2021-01-24T05:57:44.015Z - Hash: 3ea7f4a829d845353cae - Time: 29546ms

Warning: budgets: initial exceeded maximum budget. Budget 500.00 kB was not met by 44.63 kB with a total of 544.63 kB.

versions

@alan-agius4
Copy link
Collaborator

Duplicate of #17672

@alan-agius4 alan-agius4 marked this as a duplicate of #17672 Jan 25, 2021
@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 Feb 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants