style-dictionary
style-dictionary copied to clipboard
Nested formats do not apply transforms?
I created a custom transform to clean up names of tokens on output. Works well, but I noticed these transforms do not take effect when using format: 'json/nested' for files. Is this desired behavior for nested? Thanks!
Do you have two name transforms then? The ordering of it would matter. Plus transitive: true. Alternate suggestion is to combine and have one custom name transform or a custom json/nested format.
Yes! I fixed! Thanks for the assist!
Tell ya what. Delete this and I'll give it another try. Made significant discoveries on how Style-Dictionary works and don't want to add noise here.
On Wed, Sep 7, 2022 at 12:04 PM Nahiyan Khan @.***> wrote:
Do you have two name transforms then? The ordering of it would matter. Alternate suggestion is to combine and have one custom name transform or a custom json/nested format.
— Reply to this email directly, view it on GitHub https://github.com/amzn/style-dictionary/issues/862#issuecomment-1239591530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYRTTTEJAY2ZALXHWCZYMUTV5C4HVANCNFSM6AAAAAAQDGOOW4 . You are receiving this because you authored the thread.Message ID: @.***>