Skip to content

Commit d1fbe53

Browse files
kevinmarrecTheAlexLichter
authored andcommitted
fix: add __nuxt & __layout to whitelist (#36)
1 parent a73cd9b commit d1fbe53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function nuxtPurgeCss(moduleOptions) {
2525
'plugins/**/*.js'
2626
],
2727
styleExtensions: ['.css'],
28-
whitelist: ['body', 'html', 'nuxt-progress'],
28+
whitelist: ['body', 'html', 'nuxt-progress', '__nuxt', '__layout'],
2929
whitelistPatterns: [],
3030
whitelistPatternsChildren: [],
3131
extractors: [

0 commit comments

Comments
 (0)