Whitelist some CSS
This commit is contained in:
1 parent
445c149d9b
commit
cb5bf10583
1 file changed
+7
-1
+7
-1
@@ -45,7 +45,13 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'gatsby-plugin-sharp',
|
'gatsby-plugin-sharp',
|
||||||
'gatsby-transformer-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
|
'gatsby-plugin-netlify', // make sure to keep it last in the array
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user