Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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));
};
});