-
Notifications
You must be signed in to change notification settings - Fork 12k
[Build Prod] transition shorthand unit lost when Angular-CLI 6.2.x #12408
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
Comments
We need clean-css/clean-css#1050 to be fixed before updating to 4.2.x. Fix angular#12408
We can pin the cleancss version in #12441 for now, and wait for clean-css/clean-css#1050 to be fixed before updating. |
I wasn't aware of it but Since you seem to have a workaround, already (not use the shorthand), we'll wait until this is fixed on clean-css. If it ends up not being fixed we might change to a different minifier within the CLI 7.x timeframe. |
Just to add to this, clean-css is also causing some issues with Ionic's own styles in an Angular app. In this case, the dev builds without clean-css produces the css on the left. But when run through prod builds with optimizations enabled, the css selector for Digging into the webpack plugin for clean-css, setting |
Heads up @hsuanxyz , you have a typo under Desired Functionality: |
Pinning down |
Please note also that you should be able to use special comments to make clean-css ignore a block of CSS:
|
clean-css/clean-css#1050 to be fixed before removing this option. Fix angular#12408
…tion clean-css/clean-css#1050 to be fixed before removing this option. Fix angular#12408
…tion clean-css/clean-css#1050 to be fixed before removing this option. Fix #12408
…tion clean-css/clean-css#1050 to be fixed before removing this option. Fix #12408
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Uh oh!
There was an error while loading. Please reload this page.
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Repro steps
Repro: https://github.com/HsuanXyz/issues-ng-cli-6.2.x-clean-css-
The log given by the failure
Desired functionality
Mention any other details that might be useful
NG-ZORRO PR: NG-ZORRO/ng-zorro-antd#2163
clean-css issues: clean-css/clean-css#1050
Reproduction: https://github.com/HsuanXyz/issues-ng-cli-6.2.x-clean-css-
The text was updated successfully, but these errors were encountered: