Synchronous run of postcss-custom-properties
leads to unexpected results
#132
Labels
postcss-custom-properties
leads to unexpected results
#132
Bug description
Introduced here: postcss/postcss-custom-properties#181
Most of the time
canReturnSyncFunction
istrue
and this leads to vars in other places not being properly transformed, this is especially dangerous when combined withpostcss-import
.Source CSS
Expected CSS
Actual CSS
Does it happen with
npx @csstools/csstools-cli <plugin-name> minimal-example.css
?No response
Extra config
This needs to happen on external files
What plugin are you experiencing this issue on?
PostCSS Custom Properties
Plugin version
12.0.2
What OS are you experiencing this on?
macOS
Node Version
14.17.3
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: