ng build --prodIt does not minify index.html
Any update on this?
Is there chance to minify html?
Please add an option to turn off HTML minification. Or, at least, whitespace collapsing.
Does this minify all angular templates or just index.html?
@e-oz is this change breaking something in your project? Can you open a new issue with a description of what's happening please?
@ciesielskico just index.html minification.
if it's only for index.html - no, nothing critical :)
On Mon, 12 Jun 2017 at 12:40, Filipe Silva notifications@github.com wrote:
@e-oz https://github.com/e-oz is this change breaking something in your
project? Can you open a new issue with a description of what's happening
please?@ciesielskico https://github.com/ciesielskico just index.html
minification.—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
https://github.com/angular/angular-cli/issues/1861#issuecomment-307753544,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgIEO9IBj4v98jGm5l8ihw3W00oSpJ1ks5sDRWAgaJpZM4Ju05w
.
Why this issue was closed? Is there any option to minify index.html? It would be great to have an option like "extractCss" to enabled/disabled minify index.html
It was closed because of this commit https://github.com/angular/angular-cli/commit/75311c2a4541cd498b5376e1a5e79f515a8c7d79
@odahcam This feature was removed on Angular 6+ based on the comments noted on the commit you have linked.
So index.html file in Angular 6+ is still not minified. I am currently using Angular v7.2.4, and index.html on --prod does not minify it.
Absolutely right, I read the comments too, I just wanted to give a direct and simple answer to the previous comment. Maybe this issue should be reopened.
@odahcam I agree. It should be.
@filipesilva thoughts?
Any updates on this?
Most helpful comment
Why this issue was closed? Is there any option to minify index.html? It would be great to have an option like "extractCss" to enabled/disabled minify index.html