Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

Latest commit

 

History

History
29 lines (24 loc) · 699 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 699 Bytes

gridsome-plugin-purgecss

DEPRECATED

Merged into the Tailwind plugin.

This plugin will add Purgecss to your Gridsome project.

To use this plugin, run npm install -D gridsome-plugin-purgecss add the following to your gridsome.config.js.

plugins: [
  {
    use: 'gridsome-plugin-purgecss',
	// default options, the following will be included if you don't provide anything
	options: {
	  content: [
        './src/**/*.vue',
        './src/**/*.js',
        './src/**/*.jsx',
        './src/**/*.pug',
        './src/**/*.md'
      ],
	  defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || [],
	}
  }
]