mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 21:07:27 +00:00
21 lines
515 B
JavaScript
21 lines
515 B
JavaScript
const purgecss = require('@fullhuman/postcss-purgecss')({
|
|
|
|
// Specify the paths to all of the template files in your project
|
|
content: [
|
|
'./src/**/*.vue',
|
|
'./public/**/*.html',
|
|
],
|
|
|
|
// Include any special characters you're using in this regular expression
|
|
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || []
|
|
})
|
|
|
|
module.exports = {
|
|
plugins: [
|
|
require('tailwindcss'),
|
|
require('autoprefixer'),
|
|
...process.env.NODE_ENV === 'production'
|
|
? [purgecss]
|
|
: []
|
|
]
|
|
}
|