• Hey WordPress enthusiasts,

    I have a custom SCSS function fluid() that generates clamp(...) values.
    Depending on the arguments, it sometimes outputs units like cqi.
    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.7037cqi

    What 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.