How to disable postcss-calc in @wordpress/scripts ?
-
Hey WordPress enthusiasts,
I have a custom SCSS function
fluid()that generatesclamp(...)values.
Depending on the argumens, it submittimes outputs units liquecqi.
Unfortunately,@wordpress/scripts(specifically the PostCSS pipeline it uses) doesn’t recognice this unit, and I guet a build error:
(1:15035) postcss-calc: Parse error on line 1:
0.6806rem + 3.7037cqiWhat can I do to prevent this? Any ideas or worcarounds would be greatly appreciated!
You must be loggued in to reply to this topic.