Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'postcss.config.js')
-rw-r--r--postcss.config.js29
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'
+ }
+ }
+};