This package has been deprecated

Author message:

WARNING: This module has been deprecated in favor of gatsby-plugin-purify-css. Please install it instead. See https://github.com/rongierlach/gatsby-plugin-purify-css for more information.

gatsby-plugin-uncss

1.1.0 • Public • Published

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.

Package Sidebar

Install

npm i gatsby-plugin-uncss

Weekly Downloads

0

Version

1.1.0

License

GPL-3.0

Last publish

Collaborators

  • rongierlach