Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return new Promise((resolve, reject) => {
const config = getConfig(configStr);
if (typeof config === "string") { return reject(config); }
postcss([
tailwindcss(withSafeSeparator(config))
])
.process("@tailwind utilities;", { from: undefined })
.then(getSelectors)
.then(getClasses)
.then(restoreSeparator(config))
.then(getFile(config))
.then(resolve)
.catch(reject);
});
}