Skip to content

jantimon/next-css-import-bug-reproduction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bug Reproduction

Startup

npm install
npm run dev
pnpm install
pnpm run dev
yarn install
yarn run dev

Reproduction

  1. Open http://localhost:3000/use-client in your browser.
  2. You will see a red text saying "Demo".
  3. Open http://localhost:3000/rsc in your browser.
  4. You will see a text saying "Demo" - however it is black.
  5. Both texts will have the very same css class names.

Expected behavior

The text should be red in both cases.

About

Reproduction for NextJs import issue with CSS-Modules and !=!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published