gatsby-plugin-cmz

1.0.0 • Public • Published

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 plugins section of your gatsby-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

Readme

Keywords

none

Package Sidebar

Install

npm i gatsby-plugin-cmz

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.14 kB

Total Files

7

Last publish

Collaborators

  • joshwnj