Skip to content

youfoundron/gatsby-plugin-purify-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatsby Plugin Uncss

JavaScript Style Guide npm version dependencies Status devDependencies Status
A Gatsby post-build plugin that implements Uncss.
Never worry about the size of your css framework again!
It updates your html files directly, removing any unused inline styles.

Install

$ npm install gatsby-plugin-uncss

Usage

In your gatsby-config.js file:

module.exports = {
  plugins: [
    {
      resolve: 'gatsby-plugin-uncss'
      options: {
        uncssOptions: { /* ... */ }
      }
    }
  ]
}

Options

Uncss options are documented here.

About

Gatsby plugin for removing unused CSS in production.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •