Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
mergeRules(),
/** color handling */
colorNamesToHex(),
rgbToHex({ rgbOnly: true, silent: true }),
rgbaFallback(),
formatHexColors(),
/** email fixes */
emailImportant(),
shorthandExpand(), // so we can match for margin-top/margin-left etc.
zeroOutMargin(),
/** expanding to match heml elements */
elementExpander({ elements, aliases }),
mergeLonghand(),
discardEmpty()
])
.process(contents, { parser: safeParser })
}