Sipke Schoorstra 2022-12-11 20:33:57 +01:00
parent 52eaecd497
commit d74a67913f

View file

@ -30,7 +30,10 @@ export const config: Config = {
plugins: [
tailwindcss(),
autoprefixer(),
...(dev ? [] : [purgecss({content: ['./**/*.tsx', './**/*.ts']})])
...(dev ? [] : [purgecss({
content: ['./**/*.tsx', './**/*.ts'],
defaultExtractor: (content) => content.match(/[\w-/:.]+(?<!:)/g) || [],
})])
]
})
]