Skip to content

Commit

Permalink
Feat: Added tokens in json format to dist folder (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicky-comeau committed Nov 1, 2022
1 parent eea2c17 commit 749642e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/violet-coats-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@igloo-ui/tokens': minor
---

Added tokens in json format to dist folder
23 changes: 23 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@
}
]
},
"json/dist": {
"transformGroup": "custom/scss",
"buildPath": "dist/",
"files": [
{
"destination": "tokens.json",
"format": "json"
}
]
},
"scss/10": {
"transformGroup": "custom/scss",
"buildPath": "dist/base10/",
Expand Down Expand Up @@ -95,6 +105,19 @@
"options": {
"base10": true
}
},
"json/dist/10": {
"transformGroup": "custom/scss",
"buildPath": "dist/base10/",
"files": [
{
"destination": "tokens.json",
"format": "json"
}
],
"options": {
"base10": true
}
}
}
}

0 comments on commit 749642e

Please sign in to comment.