We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build
--platform
If you run the style-dictionary build CLI command with the --platform option, the CLI crashes with the error:
style-dictionary build
file:///Users/my-project/node_modules/style-dictionary/bin/style-dictionary.js:129 return Promise.all(options.platforms.map((platform) => sd.buildPlatform(platform))); ^ TypeError: Cannot read properties of undefined (reading 'map')
It looks like maybe a typo here - https://github.com/amzn/style-dictionary/blob/main/bin/style-dictionary.js#L129 ? options.platforms instead of options.platform?
options.platforms
options.platform
The text was updated successfully, but these errors were encountered:
Fixing it here #1416 , thanks for reporting the bug!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
If you run the
style-dictionary build
CLI command with the--platform
option, the CLI crashes with the error:It looks like maybe a typo here - https://github.com/amzn/style-dictionary/blob/main/bin/style-dictionary.js#L129 ?
options.platforms
instead ofoptions.platform
?The text was updated successfully, but these errors were encountered: