You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CleanCSS crashes when processing "font: unset" with level 2 optimizations enabled.
Note that it does not crash with version 4.0.12 (crashes with versions 4.1.0 and 4.1.1).
c:\clean-css-test\node_modules\clean-css\lib\optimizer\level-2\properties\populate-components.js:30
throw e;
^
TypeError: Cannot read property '1' of undefined
at Object.font [as breakUp] (c:\clean-css-test\node_modules\clean-css\lib\optimizer\level-2\break-up.js:308:66)
at populateComponents (c:\clean-css-test\node_modules\clean-css\lib\optimizer\level-2\properties\populate-components.js:17:42)
at optimizeProperties (c:\clean-css-test\node_modules\clean-css\lib\optimizer\level-2\properties\optimize.js:19:3)
at recursivelyOptimizeProperties (c:\clean-css-test\node_modules\clean-css\lib\optimizer\level-2\optimize.js:63:9)
at level2Optimize (c:\clean-css-test\node_modules\clean-css\lib\optimizer\level-2\optimize.js:77:3)
at optimize (c:\clean-css-test\node_modules\clean-css\lib\clean.js:131:5)
at c:\clean-css-test\node_modules\clean-css\lib\clean.js:104:29
at c:\clean-css-test\node_modules\clean-css\lib\reader\read-sources.js:26:64
at loadOriginalSources (c:\clean-css-test\node_modules\clean-css\lib\reader\load-original-sources.js:26:5)
at c:\clean-css-test\node_modules\clean-css\lib\reader\read-sources.js:26:14
The text was updated successfully, but these errors were encountered:
CleanCSS crashes when processing "font: unset" with level 2 optimizations enabled.
Note that it does not crash with version 4.0.12 (crashes with versions 4.1.0 and 4.1.1).
Environment
Configuration options
Input CSS
Output
The text was updated successfully, but these errors were encountered: