Skip to content

docs(css): Clarify CSS modules support SCSS extensions #78636

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

colinharris05
Copy link

What?

This change explicitly notes that module.scss files are also explicitly supported.

Why?

According to the SASS documentation, Next.js natively supports both .sass and .scss extensions. However, these CSS module docs only suggest they can be used with .css and .sass (but not explicitly also .scss).

According to [the SASS documentation](https://nextjs.org/docs/app/guides/sass), Next.js natively supports both `.sass` and `.scss` extensions. However, these CSS module docs only suggest they can be used with `.css` and `.sass` (but not explicitly also `.scss`). This change explicitly notes that `module.scss` files are also explicitly supported.
@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Apr 28, 2025
@ijjk
Copy link
Member

ijjk commented Apr 28, 2025

Allow CI Workflow Run

  • approve CI run for commit: 905bc86

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants