Within the app
directory, I've created a new folder called
styles > custom > loader.scss
. In the styles.scss
file, I included the following import:
@import "styles/custom/loader.scss";
However, upon doing so, an error message appeared:
./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
@import "styles/custom/loader.scss";
I am uncertain about how to resolve this issue. Any help would be greatly appreciated.
Directory structure:
https://i.sstatic.net/pLL0f.png
Please advise on how to solve this problem? Thank you!