-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
According this #551 (comment) Angular Cli is compiling all the files.
Currently i have this setup
sass/mixins/_pulls.sass (the mixin himself)
@mixin pull-left
float: left !important
@mixin pull-right
float: right !important
sass/mixins/index.sass (the file that load all the mixins)
//this is the main entry point for all Mixins files
@import "_pulls"
sass/utils/pulls.sass (the file that call the pull mixin)
.pull-left
@include pull-left()
.pull-right
@include pull-right()
sass/utils/index.sass (the file that load all utils files)
//this is the main entry point for all utils files
@import '_pulls'
sass/_variables.sass (the variable file)
sass/index.sass ( the file that load the files together)
//this is the main entry point for all default sass files
@import "variables"
@import "mixins/index"
@import "utils/index"
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.