Can angular-cli remove unused css?

后端 未结 6 1476
时光说笑
时光说笑 2020-12-23 21:22

so far the smallest bundle I can create with angular cli is by running

ng build --aot true -prod

I was wondering if the build p

6条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-23 21:54

    Don't know if this count as an answer because it's not really related to angular-cli, but I open my project in sublime text, and I launch UnusedCssFinder, which highlight all the unused properties in my css file.

提交回复
热议问题