How to use the icss-replace-symbols.replaceAll function in icss-replace-symbols

To help you get started, we’ve selected a few icss-replace-symbols examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Dajust / reduxTrello / node_modules / postcss-modules-values / src / index.js View on Github external
const addDefinition = atRule => {
    let matches
    while (matches = matchValueDefinition.exec(atRule.params)) {
      let [/*match*/, key, value] = matches
      // Add to the definitions, knowing that values can refer to each other
      definitions[key] = replaceAll(definitions, value)
      atRule.remove()
    }
  }
github flaviuse / mern-authentication / client / node_modules / postcss-modules-values / src / index.js View on Github external
const addDefinition = atRule => {
      let matches;
      while ((matches = matchValueDefinition.exec(atRule.params))) {
        let [, /*match*/ key, value] = matches;
        // Add to the definitions, knowing that values can refer to each other
        definitions[key] = replaceSymbols.replaceAll(definitions, value);
        atRule.remove();
      }
    };
github sx1989827 / DOClever / Client / node_modules / postcss-modules-values / src / index.js View on Github external
const addDefinition = atRule => {
    let matches
    while (matches = matchValueDefinition.exec(atRule.params)) {
      let [/*match*/, key, value] = matches
      // Add to the definitions, knowing that values can refer to each other
      definitions[key] = replaceAll(definitions, value)
      atRule.remove()
    }
  }

icss-replace-symbols

Replacing symbols during the linking phase of ICSS

ISC
Latest version published 7 years ago

Package Health Score

67 / 100
Full package analysis