next-styles
next-styles copied to clipboard
compilation error nextjs 10.0.3: options has an unknown property 'onlyLocals'
I try to use the library with nextjs 10.0.3, and I have this error during next dev execution. I check the css-loader releases. I found this:
I have also a different issue during build time: ModuleNotFoundError: Module not found: Error: Can't resolve 'css-loader/locals' For this one, i didn't find any solution...
So, Is it possible to update the withStyle.js with the last version of css-loader and nextjs ?