strojnadzor/mysite/postcss.config.js
Andrej Golovizin ec098fa934 Add Tailwind
2020-01-31 15:17:32 +01:00

23 lines
539 B
JavaScript

const purgecss = require('@fullhuman/postcss-purgecss')({
// Specify the paths to all of the template files in your project
content: [
'templates/**/*.html',
// etc.
],
whitelist: ['highlighted'],
// Include any special characters you're using in this regular expression
// defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || []
})
module.exports = {
plugins: [
require('tailwindcss'),
require('autoprefixer'),
// purgecss,
require('cssnano')({
preset: 'default',
}),
]
}