Skip to content

Commit

Permalink
options for PurgeCSS
Browse files Browse the repository at this point in the history
  • Loading branch information
victoryoalli committed Mar 10, 2020
1 parent 81574ce commit cc393a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ module.exports = {
require('tailwindcss'),
require('autoprefixer'),
purgecss({
content: ['./**/*.html']
content: ['./**/*.html'],
//Para agregar soporte para otro tipo de archivos.
//content: ['./**/*.jsx'],
//content: ['./**/*.vue'],
//Para soportar pseudo-clases
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || []
}),
require('cssnano')({
preset: 'default',
Expand Down
2 changes: 1 addition & 1 deletion public/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cc393a5

Please sign in to comment.