Closed kvedantmahajan closed 2 years ago
This issue has been automatically closed after 30 days of inactivity with no reproduction. If you are running into a similar issue, please open a new issue with a reproduction. Thank you.
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.
What version of Next.js are you using?
10.0.5
What version of Node.js are you using?
10.19.0
What browser are you using?
NA
What operating system are you using?
macOS
How are you deploying your application?
other
Describe the Bug
next build
fails the app. After adding custom sass support ( required to an external plugin - media-query-plugin) this started happening. Out of many repeated problems that are occurring due to version mismatches or other, this is the unsearchable one on internet as well. The official error on terminal points to this page, but this is too general. Importantly, my project was running fine before this change of webpack for sass-loader.Expected Behavior
The project should build successfully.
To Reproduce
Webpack config in
next.config.js
file.Add some scss files to project and below are my dependencies
build the project, error should be there. Since it is a known error, hoping a better resolution to tackle this. Basically webpack modification or customisation has been a pain. Had a base config be given like CRA, it would have been much easier on end developers.