mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2024-12-26 17:36:12 +00:00
Fixed font not rendering properly
This commit is contained in:
parent
4854f2a108
commit
d3c3dcb769
|
@ -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) || []
|
||||
|
|
Loading…
Reference in a new issue