dart-sass icon indicating copy to clipboard operation
dart-sass copied to clipboard

Not looking for .css files

Open faebeee opened this issue 4 years ago • 2 comments

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.

Screenshot 2020-04-22 at 15 54 50 Screenshot 2020-04-22 at 15 55 07

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",

faebeee avatar Apr 22 '20 13:04 faebeee

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?

nex3 avatar Apr 23 '20 18:04 nex3

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.

stof avatar Sep 01 '22 14:09 stof