How to hash CSS class names in Nextjs?

None of the answers on this thread will work on newer Next.js versions (v11.1.3-canary.2 and above), because in PR#28529, the Next.js team has switched to a customized version of css-loader that has no defaultGetLocalIdent, nor does it checks if getLocalIndent is null or undefined. Any solution that ultimately removes getLocalIdent from the loader configuration will … Read more