Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const inlineCss = (html = '') => {
try {
return declassify.process(juice(html, JUICE_OPTIONS), DECLASSIFY_OPTIONS);
} catch (err) {
console.error(err);
return html;
}
};