WebCompiler
WebCompiler copied to clipboard
Minifier strips units from 0fr.
Installed product versions
- Visual Studio: Microsoft Visual Studio Enterprise 2022 (64-bit)
- This extension: 1.14.11
Description
The minifier removes the unit "fr" when the value is 0. Wich should not happen, since it breaks animations betwen fractions like 0fr to 1fr.
Steps to recreate
- Create scss file with a property with value "0fr"
- Compile file to get a minified css
Current behavior
The compiler removes the unit "fr" from the "0fr" value, wich leaves only "0" in the minified version.
Expected behavior
The compiler should leave the "fr" in the value untouched, otherwise some things might break, like animations.
This needs to be fixed in NUglify, post an issue there and I will upgrade it as soon as it's fixed.
Issue has been created: https://github.com/trullock/NUglify/issues/384
This should be fixed in the latest release