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

different xi18n console output in CLI v7 and v8 #14373

Closed
elvisbegovic opened this issue May 8, 2019 · 1 comment · Fixed by #14383
Closed

different xi18n console output in CLI v7 and v8 #14373

elvisbegovic opened this issue May 8, 2019 · 1 comment · Fixed by #14383

Comments

@elvisbegovic
Copy link
Contributor

🐞 Bug report

- [x] xi18n

Is this a regression?

It is not regression but maybe unintentional addition in cli v8 on console message output compare to previous versions when build/extract i18n file. On CLI v.7.3.9 we have different output.

Description & minimal reproduction

To test on CLI v8, try:

npm uninstall -g @angular/cli && npm install -g @angular/cli@next
ng new aaa --skipTests --routing --style css && cd aaa && ng xi18n

Consolle will output :

Hash: eddaec2e6b64a4c7999b
Time: 27337ms
Built at: 2019-05-08 10:14:18
                                         Asset      Size     Chunks             Chunk Names
                  main.61f494da7a34faabacc0.js  4.01 KiB       main  [emitted]  main
nobody_m-original-min.97df9d51802284b1881a.jpg  1.93 KiB             [emitted]
             polyfills.1222be03a977566afb8d.js  4.05 KiB  polyfills  [emitted]  polyfills
Entrypoint main = main.61f494da7a34faabacc0.js
Entrypoint polyfills = polyfills.1222be03a977566afb8d.js
chunk {main} main.61f494da7a34faabacc0.js (main) 28 bytes [entry] [rendered]
chunk {polyfills} polyfills.1222be03a977566afb8d.js (polyfills) 28 bytes [entry] [rendered]

On CLI <v.7.3.9 try :

npm uninstall -g @angular/cli && npm install -g @angular/cli
ng new bbb --skipTests --routing --style css && cd bbb && ng xi18n

The output is :
xi18n

🌍 Your Environment


Angular CLI: 8.0.0-rc.3
Node: 12.2.0
OS: win32 x64
Angular: 8.0.0-rc.3
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.800.0-rc.3
@angular-devkit/build-angular     0.800.0-rc.3
@angular-devkit/build-optimizer   0.800.0-rc.3
@angular-devkit/build-webpack     0.800.0-rc.3
@angular-devkit/core              8.0.0-rc.3
@angular-devkit/schematics        8.0.0-rc.3
@angular/cdk                      8.0.0-rc.0
@angular/http                     8.0.0-beta.10
@angular/material                 8.0.0-rc.0
@angular/pwa                      0.800.0-rc.3
@ngtools/webpack                  8.0.0-rc.3
@schematics/angular               8.0.0-rc.3
@schematics/update                0.800.0-rc.3
rxjs                              6.5.1
typescript                        3.4.5
webpack                           4.30.0

Anything else relevant?
I think in v8 we should only keep Hash,Time,Built at informations, and not print Asset,Size,Chunks, Chunk Names

Hash: eddaec2e6b64a4c7999b
Time: 27337ms
Built at: 2019-05-08 10:14:18

cc @filipesilva

@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 9, 2019
@clydin clydin removed their assignment Jun 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants