We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7edfb01 commit 13d2fa0Copy full SHA for 13d2fa0
gatsby-config.js
@@ -64,7 +64,13 @@ module.exports = {
64
modulePath: `${__dirname}/src/cms/cms.js`,
65
},
66
67
- 'gatsby-plugin-purgecss', // must be after other CSS plugins
+ {
68
+ resolve:'gatsby-plugin-purgecss', // purges all unused/unreferenced css rules
69
+ options: {
70
+ develop: true, // Activates purging in npm run develop
71
+ purgeOnly: ['/all.sass'], // applies purging only on the bulma css file
72
+ },
73
+ }, // must be after other CSS plugins
74
'gatsby-plugin-netlify', // make sure to keep it last in the array
75
],
76
}
0 commit comments