Closed mathias-falkenberg closed 6 months ago
Hey, yes that's this bug https://github.com/tokens-studio/sd-transforms/issues/217 , fixed in v0.13.0 and above of this package, and only if you're also using style-dictionary v4.0.0-prerelease.2
Unfortunately I could not fix this issue in style-dictionary v3, so you'd have to migrate to the v4 prereleases to get this fixed
What happened?
While transforming a set of input files, I receive an error:
However, the transformation seems to be complete and the output seems correct.
Reproduction
Here's a zip file containing a minimal reproduction. Unzip, run
npm i
thennode build-tokens.js
repro.zip
Expected output
Expecting the build to complete without emitting errors, since the reference should in fact be defined
Version
0.13.4