-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Sass compile errors #558
Copy link
Copy link
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)type: bug/fix
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)type: bug/fix
According this #551 (comment) Angular Cli is compiling all the files.
Currently i have this setup
sass/mixins/_pulls.sass (the mixin himself)
sass/mixins/index.sass (the file that load all the mixins)
sass/utils/pulls.sass (the file that call the pull mixin)
sass/utils/index.sass (the file that load all utils files)
sass/_variables.sass (the variable file)
sass/index.sass ( the file that load the files together)
Now the point is that Angular cli is compiling every file and not respect the import rule and create one file for it.
so the compiler is triggering an error on the file that call the mixin utils/_pulls.sass because the mixin file himself is compiled and not loaded into the _pull.sass file.
Is there something that i missed or does the sass compiler does not handle those structure. And how i can make this structure work.