Configure PurgeCSS

This commit is contained in:
Oliver Davies 2019-05-16 13:15:14 +01:00
parent aae43efbf8
commit 74cd021a72

View file

@ -5,3 +5,7 @@ require('laravel-mix-purgecss')
mix.postCss('src/main.css', 'dist', [
require('tailwindcss')('./tailwind.config.js'),
])
.purgeCss({
folders: ['templates'],
extensions: ['html', 'twig']
})