Closed magomarlon closed 2 months ago
You're combining running Style Dictionary using the CLI build command with running it through the NodeJS API.
Try either running this:
npx style-dictionary build --config config.json
Or running:
node styledictionary.js
Hi folks.
I'm getting this error by using a js config:
This is my config (styledictionary.js):
This is styledictionary.json:
I'm running with this command:
npx style-dictionary build --config styledictionary.js
If I use directly use the config.json as a default config it works perfectly, so I guess the config.json is OkAnd my package.json:
"style-dictionary": "^4.0.1"
Node version used: 20.9.0