Skip to content

Commit

Permalink
refactor: allow overriding email comb selector safelist
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Apr 13, 2023
1 parent 5e58607 commit 737efcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/removeUnusedCss.js
Expand Up @@ -33,7 +33,7 @@ module.exports = async (html, config = {}, direct = false) => {
{heads: '{{', tails: '}}'},
{heads: '{%', tails: '%}'}
],
whitelist: [...get(config, 'whitelist', []), ...safelist]
whitelist: get(config, 'whitelist', safelist)
}

const options = merge(defaultOptions, config)
Expand Down

0 comments on commit 737efcd

Please sign in to comment.