diff options
author | Leonardo Faria <leonardofaria@users.noreply.github.com> | 2020-11-28 06:25:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 06:25:09 +0300 |
commit | 8075a7db53ceadd32ebb6a6fdc3129112eb68a90 (patch) | |
tree | 3f931fd94c2070c3443a433b14c7983a5e97b7ea /assets/css/dev/postcss.config.js | |
parent | b0139f2506774c5a85884bbf03ec3d5a9db2f7f9 (diff) | |
parent | 137578dd12d3eb535a69d9866b76402031172954 (diff) |
Merge pull request #42 from leonardofaria/remove-purge-plugin
Diffstat (limited to 'assets/css/dev/postcss.config.js')
-rw-r--r-- | assets/css/dev/postcss.config.js | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/assets/css/dev/postcss.config.js b/assets/css/dev/postcss.config.js index f62884a..a2e5ef8 100644 --- a/assets/css/dev/postcss.config.js +++ b/assets/css/dev/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')(), ] } |