diff options
author | wlh233 <wlh233@live.com> | 2020-11-13 18:07:41 +0300 |
---|---|---|
committer | wlh233 <wlh233@live.com> | 2020-11-13 18:07:41 +0300 |
commit | ab9efea0dc0d0eb0202421aab978d8b54b5dac3b (patch) | |
tree | 4e133abd297ba1f7d74696a100af0466a51b1e83 /postcss.config.js |
first commit
Diffstat (limited to 'postcss.config.js')
-rw-r--r-- | postcss.config.js | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..1d3a844 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,29 @@ +module.exports = { + plugins: { + '@fullhuman/postcss-purgecss': { + content: ['themes/hulga/layouts/**/*.html'], + safelist: { + standard: ['highlight', + 'pre', + 'video', + 'code', + 'content', + 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', + 'ul', 'ol', 'li', + 'blockquote', + 'table', + 'hr', 'br', + 'back-to-top' + ], + deep: [/^content/, /^chroma/], + greedy: [], + keyframes: [], + variables: [] + } + }, + autoprefixer: {}, + cssnano: { + preset: 'default' + } + } +}; |