New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Styles optimization option - "removeSpecialComments" is not working #27532
Comments
@gopalpunvant, this is only available when using the application builder. Which builder are you using? |
@alan-agius4 For build, I am using only Angular CLI's "ng build --configuration production" command. "minify" option is working correctly. The configuration, I am using is:
|
@gopalpunvant, please provide the entire “build” section of your angular.json. |
@alan-agius4 I got you now. I am using "@angular-devkit/build-angular:browser" builder and I also saw that the "removeSpecialComments" is not available for it. So, is there any way to minimise the css while keeping the special comments as it is? |
@gopalpunvant, not with the browser builder. |
Which @angular/* package(s) are the source of the bug?
compiler-cli
Is this a regression?
Yes
Description
Styles optimization option - "removeSpecialComments" is not working. This feature was merged in the PR: https://github.com/angular/angular-cli/pull/26444/files.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: