Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const WordpressPurgeCSS = {
whitelist: [
"rtl",
"home",
"blog",
"archive",
"date",
"error404",
"logged-in",
"admin-bar",
"no-customize-support",
"custom-background",
"wp-custom-logo"
],
whitelistPatterns: [
/^search(-.*)?$/,
/^(.*)-template(-.*)?$/,
/^(.*)?-?single(-.*)?$/,
/^postid-(.*)?$/,
/^attachmentid-(.*)?$/,
/^attachment(-.*)?$/,
/^page(-.*)?$/,
/^(post-type-)?archive(-.*)?$/,
/^author(-.*)?$/,
/^category(-.*)?$/,
/^tag(-.*)?$/,
/^tax-(.*)?$/,
/^term-(.*)?$/,
/^(.*)?-?paged(-.*)?$/
]
};
@adampatterson

This comment has been minimized.

Copy link

adampatterson commented Aug 16, 2019

I gave this a try and my SASS compiles, but a lot of the Gutenberg/Media alignment is missing, Do you have any suggestions?

I can manually add them I suppose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.