Initial commit
This commit is contained in:
commit
d0b29c4ccf
11 changed files with 242 additions and 0 deletions
14
postcss.config.js
Normal file
14
postcss.config.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
const purgecss = require('@fullhuman/postcss-purgecss')({
|
||||
content: ['./public/**/*.html'],
|
||||
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
|
||||
})
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
require('tailwindcss'),
|
||||
require('autoprefixer'),
|
||||
...process.env.NODE_ENV === 'production'
|
||||
? [purgecss, require('cssnano')]
|
||||
: []
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue