A Vite plugin that integrates PurgeCSS with Laravel template assets. Apart from Blade, it also supports frontend frameworks such as Svelte, Vue, React and Angular. It works well with Inertia.
npm ci --no-audit --no-fund
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
There were a few warnings when using this package, so I updated the dependencies which resolves the warnings.
Also, Laravel 10 and 11 both use Vite 5 (PR).
Warnings
Updated