1.0.0 • Published 6 years ago
gatsby-plugin-cmz v1.0.0
gatsby-plugin-cmz
This plugin checks which cmz classnames have been used in gatsby's SSR, and inlines them in a <style> tag, to avoid a FOUC.
Instructions
npm install -S gatsby-plugin-cmz- add to the
pluginssection of yourgatsby-config.js:
plugins: [
// ...
// other plugins
// ...
{
resolve: 'gatsby-plugin-cmz',
}
]Note: This is intended for use with cmz >= 3.13.0
Acknowledgenments
Inspired by gatsby-plugin-glamor
1.0.0
6 years ago