Closed jorenbroekema closed 3 weeks ago
Latest commit: a78a542ad786c0daa0638c6e4f06a48bdf261713
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
https://github.com/amzn/style-dictionary/issues/1266 raised this issue
fixes some sloppiness I introduced here: https://github.com/tokens-studio/sd-transforms/pull/290
I wouldn't mind encapsulating platform config options inside an
options
property like we do for format-level options, it would be a bit more consistent.. But currently style-dictionary also doesn't do this for the platform config option "basePxFontSize" so doing it now would be inconsistent as well.I think we should pull transform options passed through platform config into an "options" object though in the future but this would a small breaking change, so it will be style-dictionary v5. too bad I missed this for v4.