Skip to content

[regression] cannot reopen #19858, build report is not correct for lazy chuck CSS #20781

Closed
@asanoic

Description

@asanoic

sorry I cannot reopen BUG #19858
same input, but output wrong, not happen on latest CLI 11.x, but happen on 12

my angular.json file has following styles

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

output

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

Initial Chunk Files               | Names         |      Size
main.b03e387bc21f2605fa41.js      | main          | 299.83 kB
styles.css                        | styles        | 207.59 kB
polyfills.100d41070b40b89b6464.js | polyfills     |  44.14 kB
runtime.ac2f2d31f97ea82aa40e.js   | runtime       |   2.62 kB

                                  | Initial Total | 554.18 kB

Lazy Chunk Files                  | Names         |      Size
333.be363f1d142dd0c1d886.js       | -             | 104.67 kB
511.11034171594ed6c93d21.js       | -             |  25.19 kB
423.680343d9f65a7c35dae8.js       | -             |  18.59 kB
396.a64c13c0d0b94c1aadae.js       | -             |  13.58 kB
89.817a86ec0f4b2f536df8.js        | -             |   8.54 kB
248.0ce51b87a41b41aad6f1.js       | -             | 639 bytes

Build at: 2021-05-14T03:55:40.447Z - Hash: ba31c4dd61bdfd6bd2e5 - Time: 47812ms

Warning: initial exceeded maximum budget. Budget 500.00 kB was not met by 51.57 kB with a total of 551.57 kB.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions