Whitelist some CSS

This commit is contained in:
ponas committed 2019-03-26 22:30:20 +01:00
1 parent 445c149d9b
commit cb5bf10583
1 file changed
+7 -1
+7 -1
View File
@@ -45,7 +45,13 @@ module.exports = {
},
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-plugin-purgecss',
{
resolve: 'gatsby-plugin-purgecss',
options: {
printRejected: true,
whitelistPatterns: [/^(.*)-content(.*)/, /^event-grouped-by-(.*)/],
},
},
'gatsby-plugin-netlify', // make sure to keep it last in the array
],
}