You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Reacted by Charl, gloomygentleman, CDDelta, Idan Yadgar, Devin A Porro, Ian Corne, M.Sakamaki, Petro Bazurin, Andrey Oprokidnev, Philipp Bachmann and 3 more
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.
Activity
vitthalr commentedon Jan 4, 2017
Any update on this?
Fajkowsky commentedon Feb 23, 2017
Is there chance to minify html?
feat(@angular/cli): add support for minifying HTML
e-oz commentedon Jun 12, 2017
Please add an option to turn off HTML minification. Or, at least, whitespace collapsing.
alexciesielski commentedon Jun 12, 2017
Does this minify all angular templates or just
index.html?filipesilva commentedon Jun 12, 2017
@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.
e-oz commentedon Jun 12, 2017
feat(@angular/cli): add support for minifying HTML
jkevingutierrez commentedon May 19, 2018
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
odahcam commentedon Jan 8, 2019
It was closed because of this commit 75311c2
RinMinase commentedon Feb 7, 2019
@odahcam This feature was removed on Angular 6+ based on the comments noted on the commit you have linked.
So
index.htmlfile in Angular 6+ is still not minified. I am currently using Angularv7.2.4, andindex.htmlon--proddoes not minify it.odahcam commentedon Feb 8, 2019
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.
alaboudi commentedon May 14, 2019
@odahcam I agree. It should be.
@filipesilva thoughts?
MilesBHuff commentedon Feb 13, 2020
#11360 is the same issue, and it's still open, in case you guys want to move there.
MilanObrenovic commentedon May 25, 2020
Any updates on this?
angular-automatic-lock-bot commentedon Jun 3, 2021
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.
feat(@angular/cli): add support for minifying HTML