Skip to content

Commit

Permalink
ignore raw content when register dependencies (#4542)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradlc authored Jun 2, 2021
1 parent 1600fbd commit 45ead43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/purgeUnusedStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 45ead43

Please sign in to comment.