Setup PostCSS plugins with Next.js and CSS modules
I’m trying to setup a Next.js project with CSS modules and I’d like to use PurgeCSS to clean up unused css classes. I setup the plugin in a postcss.config.mjs file, but while “normal” css is purged as intended CSS modules are not.