Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function prefixStyles(styles) {
if (Config.canAutoPrefix()) {
Prefixer.process(styles);
} else {
console.warn('Autoprefixing failed as there is no valid userAgent specified.');
console.warn('Use Config.setUserAgent to specify a custom userAgent for server-side rendering.');
}
}