Closed Anduin2017 closed 5 years ago
Hi, this is expected since styles inside the HTML is outside of the build pipeline.
That said you might be interested in this feature request https://github.com/angular/angular-cli/issues/11395
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.
Versions
Repro steps
Step 1 Create a new angular app using
ng new
Step 2 Create some inline CSS in index.html, like:
Step 3 Execute to build
Observed behavior
The output of built index.html is uglified(Compressed). The output of built index.html is using the CSS where was input and not uglified(Compressed).
Desired behavior
The output of built index.html should use uglified(Compressed) CSS.