Skip to content

Commit 6fd8672

Browse files
Merge pull request #92 from tokens-studio/release/0.1.1
chore: upgrade sd, readme vite addition
2 parents ffe593f + c147232 commit 6fd8672

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed

.changeset/tiny-parrots-relate.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tokens-studio/configurator": patch
3+
---
4+
5+
Upgrade to latest [email protected], allow nested folders for tokens/themes, add yarn install instruction.

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ import '@tokens-studio/configurator';
3333
</configurator-element>
3434
```
3535

36+
You'll also need to ensure that WASM bindings are supported in whatever dev server you use. For Vite for example, you will need:
37+
38+
```js
39+
optimizeDeps: {
40+
exclude: ['@rollup/browser'],
41+
}
42+
```
43+
3644
### Attributes
3745

3846
```html
@@ -95,4 +103,4 @@ import { sdState, SD_CHANGED_EVENT } from '@tokens-studio/configurator/utils';
95103
sdState.addEventListener(SD_CHANGED_EVENT, (ev) => {
96104
console.log(ev.detail); // Style-Dictionary object
97105
})
98-
```
106+
```

package-lock.json

+4-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"magic-string": "^0.30.8",
3737
"path-unified": "^0.1.0",
3838
"prettier": "^3.2.5",
39-
"style-dictionary": "4.0.0-prerelease.25",
39+
"style-dictionary": "4.0.0-prerelease.26",
4040
"uuid": "^9.0.1"
4141
},
4242
"devDependencies": {

0 commit comments

Comments
 (0)