ignore raw content when register dependencies (#4542)
This commit is contained in:
parent
1600fbdf02
commit
45ead43fb4
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ export default function purgeUnusedUtilities(config, configChanged, registerDepe
|
|||
|
||||
let content = Array.isArray(config.purge) ? config.purge : config.purge.content
|
||||
|
||||
for (let maybeGlob of content) {
|
||||
for (let maybeGlob of content.filter((item) => typeof item === 'string')) {
|
||||
let { is, base } = parseGlob(maybeGlob)
|
||||
|
||||
if (is.glob) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue