Fixed font not rendering properly

This commit is contained in:
RemixDev 2022-07-30 10:59:52 +02:00
parent 4854f2a108
commit d3c3dcb769

View File

@ -7,7 +7,7 @@ module.exports = {
},
purge: {
// https://medium.com/@kyis/vue-tailwind-purgecss-the-right-way-c70d04461475
content: [`./public/**/*.html`, `./src/**/*.vue`, `./src/**/*.js`],
content: [`./public/**/*.html`, `./public/**/*.ejs`, `./src/**/*.vue`, `./src/**/*.js`],
defaultExtractor(content) {
const contentWithoutStyleBlocks = content.replace(/<style[^]+?<\/style>/gi, '')
return contentWithoutStyleBlocks.match(/[A-Za-z0-9-_/:]*[A-Za-z0-9-_/]+/g) || []