function buildDesignTokens() {
  const StyleDictionary = styleDictionary.prepareStyleDictionary()

  // APPLY THE CONFIGURATION
  // IMPORTANT: the registration of custom transforms
  // needs to be done _before_ applying the configuration
  StyleDictionaryExtended = StyleDictionary.extend(
    `${__dirname}/design-tokens.config.json`
  )

  // FINALLY, BUILD ALL THE PLATFORMS
  StyleDictionaryExtended.buildAllPlatforms()
}
/**
 * Reads in our design token files and
 * Exports them depending on the outputs from
 * design-tokens.config.json
 * @returns {void}
 */
Reads in our design token files and
Exports them depending on the outputs from
design-tokens.config.json
@returns {void}
Reads in our design token files and Exports them depending on the outputs from design - tokens . config . json @returns { void }
function buildDesignTokens() {
  const StyleDictionary = styleDictionary.prepareStyleDictionary()
  StyleDictionaryExtended = StyleDictionary.extend(
    `${__dirname}/design-tokens.config.json`
  )
  StyleDictionaryExtended.buildAllPlatforms()
}
function buildDesignTokens ( ) { const StyleDictionary = styleDictionary . prepareStyleDictionary ( ) StyleDictionaryExtended = StyleDictionary . extend ( ` ${ __dirname } ` ) StyleDictionaryExtended . buildAllPlatforms ( ) }
Reads in our design token files and
 Exports them depending on the outputs from
 design-tokens.config.json
 @returns {void}
Reads in our design token files and Exports them depending on the outputs from design - tokens . config . json @returns { void }
// APPLY THE CONFIGURATION // IMPORTANT: the registration of custom transforms // needs to be done _before_ applying the configuration // FINALLY, BUILD ALL THE PLATFORMS