How to use the icss-replace-symbols.default.bind 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 salsify / broccoli-css-modules / lib / link-modules.js View on Github external
return (css, result) => {
    let translations = {};
    let exportTokens = result.exportTokens = {};

    return Promise.all(fetchAllImports(css, translations, options))
      .then(replaceSymbols.bind(null, css, translations))
      .then(extractExports.bind(null, css, translations, exportTokens));
  };
});

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