Angular-cli: Does angular-cli compress/optimize the assets content such as images?

Created on 9 Mar 2017  路  3Comments  路  Source: angular/angular-cli

Hi Guys,

I am wondering if the angualr-cli will compress/optimize the assets contents such as images when we run 'ng build --prod' or 'ng serve --prod'

Thank you

Most helpful comment

How do i able to add compression loader, without webpack config extraction?
That will be awesome

All 3 comments

No, images are not compressed.

How do i able to add compression loader, without webpack config extraction?
That will be awesome

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

delasteve picture delasteve  路  3Comments

hartjo picture hartjo  路  3Comments

donaldallen picture donaldallen  路  3Comments

gotschmarcel picture gotschmarcel  路  3Comments

rajjejosefsson picture rajjejosefsson  路  3Comments