Add Tailwind
This commit is contained in:
parent
22bf5c835b
commit
ec098fa934
6 changed files with 4360 additions and 0 deletions
23
mysite/postcss.config.js
Normal file
23
mysite/postcss.config.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
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',
|
||||
}),
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue