Where does @csstools/postcss-design-tokens look for tokens files?
#1538
JGallardo4
started this conversation in
General
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. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions