playground-feedback icon indicating copy to clipboard operation
playground-feedback copied to clipboard

SASS folders with _index doesn't work on second nested folder

Open vhristov5555 opened this issue 5 years ago • 0 comments

Saved session: https://play.nativescript.org/?template=play-js&id=OdSigs

  1. create new project
  2. Add SASS file
  3. Create folder with _index.scss
  4. Import the folder with _index.scss e.g. @import "./home";
  5. In the _index.scss create nested folder with ./test/_index.scss in it
  6. in the _index.scss import the nested folder @import "./test"; Saved session: https://play.nativescript.org/?template=play-js&id=OdSigs go to home/_index.scss remove index from @import "./test/index"; and try to save actual: an error will be thrown:
Error: File to import not found or unreadable: ./test.
Parent style sheet: /sass/home/_index.scss
on line 1 of sass/home/_index.scss
>> @import "./test";
^

expected: to be able to import nested sass folder with _index.scss

vhristov5555 avatar Sep 05 '19 15:09 vhristov5555