-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
Configure cssnano options using browserlist #657
Comments
@leimonio |
I'm trying to find out if there is a way to enable/disable Which is the best way to configure this optimization in a more dynamic way for the end user? |
@leimonio hm, bug in |
@leimonio please open an issue in postcss-calc. |
/cc @andyjansson can you find time on fixing problem in |
Close in favor postcss/postcss-calc#67, thanks for issue, sorry for delay |
ccsnano
offers some configurable optimizations, likecalc
. Is there a way to use the browserlist in order to be able to configure these optimizations?To give some more context, using webpack with
optimize-css-assets-webpack-plugin
for production builds results in transformingcalc(100vh - 5rem - calc(10rem + 100px))
tocalc(100vh - 5rem - 10rem + 100px)
.This is not happening though when disabling
calc
optimizations on default presetThe text was updated successfully, but these errors were encountered: