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
Describe the bug 70% is minified into 1%
70%
1%
To Reproduce Steps to reproduce the behavior:
body { opacity: 70%; }
Input
body {opacity: 70%;}
Current behaviour
body{opacity:1%}
Expected behavior
body{opacity:70%}
Desktop (please complete the following information):
Additional context This seems to be fixed by using this config:
module.exports = { preset: [ "default", { convertValues: false, }, ], };
The text was updated successfully, but these errors were encountered:
Thanks for the issue
This has been fixed in master. It will be released soon. Till then use cssnano@nightly
cssnano@nightly
Sorry, something went wrong.
Fixed in 5.0.0-rc.2
修正ng build --prod時opacity變1的問題,cssnano升到5.0.0-rc.2
b1466e3
這是cssnano的bug,issue: cssnano/cssnano#957 把cssnano升到5.0.0-rc.2
Required because of a bug in cssnano
672016b
See cssnano/cssnano#957 and https://cssnano.co/docs/config-file/#configure-through-a-dedicated-cssnano-configuration
No branches or pull requests
Describe the bug
70%
is minified into1%
To Reproduce
Steps to reproduce the behavior:
body { opacity: 70%; }
on the leftInput
Current behaviour
Expected behavior
Desktop (please complete the following information):
Additional context
This seems to be fixed by using this config:
The text was updated successfully, but these errors were encountered: