Next JS removes duplicated properties from CSS files after minification #78168
-
SummaryI want to use both of these since one is supported by Chrome, and one is by Mozilla:
But after minification only the last property remains. I guess there is an option turned on to remove duplicated properties. Can I somehow turn off this option so both of the same property will be in the final CSS? I'm not using extra plugins or tools; I'm just running Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@DemeSzabolcs doesn't PostCSS (assuming that you're using this) have the ability to convert newer, unsupported CSS to browser-supported feature, using postcss-preset-env? I think all you need to do is add width: stretch; and it should be able to deal with it. Before that, you need to import and add the plugin first. |
Beta Was this translation helpful? Give feedback.
@DemeSzabolcs doesn't PostCSS (assuming that you're using this) have the ability to convert newer, unsupported CSS to browser-supported feature, using postcss-preset-env?
I think all you need to do is add width: stretch; and it should be able to deal with it.
Before that, you need to import and add the plugin first.