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

A Tailwind-friendly Purgecss plugin for Gridsome.

Notifications You must be signed in to change notification settings

brandonpittman/gridsome-plugin-purgecss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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) || [],
	}
  }
]

About

A Tailwind-friendly Purgecss plugin for Gridsome.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published