-
Notifications
You must be signed in to change notification settings - Fork 27.3k
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
SASS support only work for scss files not for sass files #15737
Comments
Are you using the Sass syntax instead of Scss? |
My file was pretty simple for testing purpose. For example:
And for modules:
|
If you're using the body
background-color: red
.highlight
background-color: yellow |
Updating the documentation to explain this! |
Thank you. This does help. |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
The SASS support of next-js only works for
*.scss
files not*.sass
files.To Reproduce
Create a
*.sass
files in your code and import it in any page if its*.module.sass
or in_app.[js|tsx]
if it contain global styles i.e.*.sass
. You will start getting an error when running the dev server.But if you change them to
scss
extension it starts working again. Although the CSS documentation states that any of the 2 extensions can be used it works only forscss
.Expected behavior
It should work for both extensions.
Screenshots
N/A
System information
The text was updated successfully, but these errors were encountered: