How to use the email-comb.comb function in email-comb

To help you get started, we’ve selected a few email-comb 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 maizzle / framework / src / transformers / removeUnusedCSS.js View on Github external
module.exports = async (html, config) => {
  const opts = config.cleanup.removeUnusedCSS

  if (config.cleanup && opts && opts.enabled) {
    return comb(html, opts).result
  }

  return html
}

email-comb

Remove unused CSS from email templates

MIT
Latest version published 8 months ago

Package Health Score

61 / 100
Full package analysis

Popular email-comb functions