Fix whitelisting of nprogress

This commit is contained in:
Jonathan Reinink 2019-12-18 16:01:48 -05:00
parent b650401319
commit 89bcbbbe0e
1 changed files with 1 additions and 1 deletions

2
webpack.mix.js vendored
View File

@ -27,7 +27,7 @@ mix.js('resources/js/app.js', 'public/js')
purgecss({
content: ['./resources/views/**/*.blade.php', './resources/js/**/*.vue'],
defaultExtractor: content => content.match(/[\w-/:.]+(?<!:)/g) || [],
whitelist: ['nprogress'],
whitelistPatternsChildren: [/nprogress/],
}),
] : [],
],