How to use email-comb - 1 common examples

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 1 month ago

Package Health Score

72 / 100
Full package analysis

Popular email-comb functions