3

I'm experiencing an issue with Next.js 15.3.0: CSS Modules are not working in development mode, although they work fine in production.

For example, the generated class name like class="style-module__Bwpv2a__container_app" is present in the DOM, but the styles don't seem to be applied.

When I downgrade to Next.js 15.2.4, everything works as expected in development.

Has anyone else run into this issue with 15.3.0? Any idea what's going on?

Thanks!

1
  • 1
    I‘m facing the exact same issue. Most of the modules are working but some are not. Commented Apr 12 at 13:01

1 Answer 1

0

As a temporary solution, avoid using Turbopack and run the development server with next dev instead. More details available here: https://github.com/vercel/next.js/issues/77522

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.