dart-sass
dart-sass copied to clipboard
Not looking for .css files
Hello In the current Project, we have some issues importing css files from the node_modules folder.
The docs are stating that sass
automatically looks for the .css
file in a path if you omit the .css
ending on the import statement. That is somehow not working.
These are the libs we are using
"sass": "^1.26.3",
"node-sass-import-once": "^1.2.0",
"node-sass-json-importer": "^4.1.4",
We need more information in order to help you with your problem. Can you provide a minimal reproduction that uses only Dart Sass and that reproduces your problem?
it automatically look for the .css
file if you omit the .css
extension and you don't have a .scss
or .sass
matching that import.