Closed Sjoerd closed 5 years ago
Not sure, but I think this error pops up if you have an empty directory in the files that Purgecss scans for selectors.
I ran into this using it outside of Laravel, it seems it means that it can't find the files it is supposed to scan for selectors. so I needed to add the folder that holds my templates and the extension for those templates. In my case it looks like this:
.purgeCss({ folders: ['/assets/src/scss', 'templates/'], extensions: ['twig'] })
Hello, When I try to run
npm run prod
, I get the following error.webpack.mix.js (laravel mix):