Skip to content
Permalink
Browse files

Remove PurgeCSS for now

Because it messed up some styling.
  • Loading branch information
brookback committed Feb 23, 2020
1 parent 8308720 commit 2c4bfd4ef1491cc9e8165eaa88868b7d9e1cec59
Showing with 0 additions and 12 deletions.
  1. +0 −12 postcss.config.js
@@ -1,14 +1,3 @@
const purgecss = require('@fullhuman/postcss-purgecss')({
content: [
'./src/site/**/*.njk',
'./src/site/**/*.md',
'./src/site/**/*.html',
],

// Include any special characters you're using in this regular expression
defaultExtractor: (content) => content.match(/[\w-/:]+(?<!:)/g) || [],
});

const minify = require('cssnano')({
preset: 'default',
});
@@ -22,7 +11,6 @@ module.exports = (ctx) => ({
require('postcss-color-function')(),
require('postcss-hexrgba')(),
require('autoprefixer')(),
...(env === 'production' ? [purgecss] : []),
...(env === 'production' ? [minify] : []),
],
});

0 comments on commit 2c4bfd4

Please sign in to comment.
You can’t perform that action at this time.