New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-plugin-uncss

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-uncss

Gatsby plugin for removing unused CSS in production.

0.1.0
Source
npm
Version published
Maintainers
1
Created
Source

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.

Keywords

gatsby

FAQs

Package last updated on 19 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts