I am trying to compile a SCSS file to CSS, but build fails because it cannot load resources I am using.
In my SCSS file, I load a CSS file through @use
: the CSS file is inside a package in the node_modules
folder.
In my package.json
file I have a build script that runs a sass command with --load-path
option, that should enable the script to look into the node_modules folder when using @use
or @import
utilities, but for some reasons it fails and I am not sure why, as everything seems to be in place. What am I missing?
The build script in my package.json:
The @use rule I am using to load the file I want from the node_modules folder: