1.1.0 • Published 7 years ago
gatsby-plugin-uncss v1.1.0
Gatsby Plugin Uncss
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.