How to disable postcss-calc in @wordpress/scripts ?
-
Hey WordPress enthusiasts,
I have a custom SCSS function
fluid()that generatesclamp(...)values.
Depending on the arguments, it sometimes outputs units likecqi.
Unfortunately,@wordpress/scripts(specifically the PostCSS pipeline it uses) doesn’t recognize this unit, and I get 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 workarounds would be greatly appreciated!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.