mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-08-09 22:52:28 -04:00
installed tailwind and removed old css/js
This commit is contained in:
parent
9a0a693c54
commit
170d77b3ec
14 changed files with 3021 additions and 1103 deletions
14
postcss.config.js
Normal file
14
postcss.config.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
const path = require('path');
|
||||
|
||||
module.exports = (ctx) => ({
|
||||
plugins: [
|
||||
require('tailwindcss')(path.resolve(__dirname, 'tailwind.config.js')),
|
||||
require('autoprefixer'),
|
||||
ctx.env === 'production' && require('@fullhuman/postcss-purgecss')({
|
||||
content: [
|
||||
path.resolve(__dirname, 'templates/**/*.html')
|
||||
],
|
||||
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
|
||||
})
|
||||
]
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue