Where does @csstools/postcss-design-tokens
look for tokens files?
#1538
Replies: 1 comment 1 reply
-
The current file is the reference point.
Non-standard and sugary plugins should always be used towards the start of your pipeline, never at the end. The order should be something like this:
There is no real use case for that. You can manipulate the path in I can understand how such a plugin options seems like a neat addition but given that it isn't needed I am not inclined to add such a feature. This would make everything more complicated without adding extra capabilities. |
Beta Was this translation helpful? Give feedback.
-
With the example of a CSS file as follows, supposing I use the plugin at the end of my PostCSS pipeline, will it look for the tokens file in the build output, next to the final CSS file?
It would be great to be able to specify the location of my tokens file in the plugin options
Beta Was this translation helpful? Give feedback.
All reactions