This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Scan through all vue components and search for helper styles that are used | |
* Then return those that aren't so that they can be purged | |
*/ | |
const { readFileSync } = require('fs') | |
const { sync } = require('glob') | |
// Vuetify exists in both pages, components and layouts | |
const everyVueComponent = sync('./+(components|pages|layouts)/**/*.vue') |