36 lines
882 B
JavaScript
36 lines
882 B
JavaScript
module.exports = {
|
|
plugins: {
|
|
'@fullhuman/postcss-purgecss': {
|
|
content: [
|
|
'./themes/bombil/layouts/**/*.html',
|
|
'./themes/bombil/assets/js/*.js',
|
|
'./themes/bombil/static/js/*.js',
|
|
'./layouts/**/*.html',
|
|
'./static/js/*.js'
|
|
],
|
|
whitelist: [
|
|
'highlight',
|
|
'pre',
|
|
'video',
|
|
'code',
|
|
'content',
|
|
'h3',
|
|
'h4',
|
|
'ul',
|
|
'table',
|
|
'li',
|
|
'quote',
|
|
'fig-caption',
|
|
'figure',
|
|
'raw-para',
|
|
'chroma'
|
|
],
|
|
whitelistPatternsChildren: [/table$/],
|
|
whitelistPatternsChildren: [/chroma$/],
|
|
},
|
|
autoprefixer: {},
|
|
cssnano: {preset: 'default'}
|
|
}
|
|
};
|
|
|