exportTo doesn't transform/transpile values before exporting #120
Labels
bug
Something isn't working
plugin-packs/postcss-preset-env
plugins/postcss-custom-properties
wontfix
This will not be worked on
Hello, this seems a problem to me. With exportTo you tipically want already transformed values, this works if you have postcss plugins before postcss-preset-env, but postcss-preset-env should export after all transformations or you end up with unusable code when importing from javascript.
For example this is the result of exportTo of postcss-preset-env:
You can see that color-mod isn't transpiled, not even the css custom properties that use other custom properties.
This is my config:
Thank you
The text was updated successfully, but these errors were encountered: