Quick snippet showing you how to configure laravel-mix-purgecss to work with a CraftCMS project.
Laravel Mix is a wrapper around webpack that makes it easy to do common stuff like compiling javascript, vue components, compiling Sass and generating sourcemaps etc, without having to battle with huge webpack config files by yourself.