-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add missing changeset for SD format platform methods (#1227)
- Loading branch information
1 parent
af481e1
commit 355785f
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'style-dictionary': minor | ||
--- | ||
|
||
Create `formatPlatform` and `formatAllPlatforms` methods. | ||
This will return the outputs and destinations from the format hook for your dictionary, without building these outputs and persisting them to the filesystem. | ||
Additionally, formats can now return any data type instead of requiring it to be a `string` and `destination` property in `files` is now optional. | ||
This allows users to create formats intended for only formatting tokens and letting users do stuff with it during runtime rather than writing to files. |