diff options
Diffstat (limited to 'assets/css/postcss.config.js')
-rw-r--r-- | assets/css/postcss.config.js | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/assets/css/postcss.config.js b/assets/css/postcss.config.js index 47f4e11..400c58d 100644 --- a/assets/css/postcss.config.js +++ b/assets/css/postcss.config.js @@ -2,29 +2,8 @@ const themeDir = __dirname + '/../../'; module.exports = { plugins: [ - require('postcss-import')({ - path: [themeDir] - }), + require('postcss-import')({ path: [themeDir] }), require('tailwindcss')(themeDir + 'assets/css/tailwind.config.js'), - // Configuration of purgecss for Tailwindcss - // see https://tailwindcss.com/docs/controlling-file-size/#setting-up-purgecss - require('@fullhuman/postcss-purgecss')({ - // Specify the paths to all of the template files in your project - content: [ - themeDir + 'layouts/**/*.html', - themeDir + 'exampleSite/content/**/*.html', - 'layouts/**/*.html', - 'content/**/*.html', - 'content/**/*.md', - '**/*.md', - ], - // Include any special characters you're using in this regular expression - defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || [], - fontFace: true, - whitelistPatternsChildren: [/article/] - }), - require('autoprefixer')({ - grid: true - }), + require('autoprefixer')(), ] } |