gatsby-plugin-split-css

Split css

MIT License

Downloads
14.6K
Stars
12
Committers
4

gatsby-plugin-split-css

Overrides the default webpack config to split the css into chunks

Install

$ npm install gatsby-plugin-split-css

Configure

Note: add this plugin after all PostCSS/Sass/Less plugins.

// gatsby-config.js

module.exports = {
  plugins: [
    `gatsby-plugin-split-css`
  ],
}

License

The MIT License

Package Rankings
Top 8.79% on Npmjs.org
Related Projects