Error on load sass from import file in next js #11425
Replies: 3 comments 1 reply
-
I highly recommend starting using the "build in CSS" support without https://nextjs.org/docs/basic-features/built-in-css-support#sass-support |
Beta Was this translation helpful? Give feedback.
-
Hey there! I'm having the same issue and would be very interested in a working setup :) @aralroca, about the built-in CSS support, it unfortunately doesn't allow importing global CSS from anywhere but the custom app file ( |
Beta Was this translation helpful? Give feedback.
-
HI thanks... but I have the same issue as
is there something comming in next js new version ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have this in next.config.js
I have this configuration but can't be loading CSS from saas files, for instance, I made import "./main.scss"; and is not loaded next js: 9.3
./components/landing/main.scss ModuleParseError: Module parse failed: Unexpected character '�' (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders (Source code omitted for this binary file)
can someone help with the right configuration?
thanks in advance
Carlos Vieira
Beta Was this translation helpful? Give feedback.
All reactions