question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

comment:null leads to errors with style-dictionary

See original GitHub issue

Hi,

thanks for this great plugin!

One thing I discovered in the latest version:

Missing comments are exported as comment: null, which leads to errors when using style-dictionary (I am using 2.10.3) to transform the styles. Changing these to comment: ""or removing them altogether leads to a working build.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MoritzStefanercommented, Apr 1, 2021

Sweet, thanks! Can confirm my issues are resolved.

0reactions
lukasoppermanncommented, Mar 26, 2021

Hey, I just published version 2.1.3 which changes the behavior to avoid any non-string comments

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS Comments · Issue #195 · amzn/style-dictionary - GitHub
I noticed an issue with Style Dictionary when using comments to Sass and ... For example, when this is the variable set, there...
Read more >
Style Dictionary - Style once, use everywhere. A build system ...
Style Dictionary is a build system that allows you to define styles once, ... source - removing roadblocks, errors, and inefficiencies across your...
Read more >
datatables.txt - tds.ms
compressionOptions = null; exports.comment = null; exports.unixPermissions = null; exports. ... Unfortunately, this lead also to some issues ...
Read more >
style-dictionary - npm
Style once, use everywhere. A build system for creating cross-platform styles.. Latest version: 3.7.1, last published: 7 months ago.
Read more >
Dark Mode with Style Dictionary | dbanksdesign - Danny Banks
A values-night/colors.xml file with non-colors will throw an error when trying to build. If you are working in Android Studio, there are ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found