Closed zphhhhh closed 7 years ago
Here I have some more than one .less files, and them all depend on a _colors.less file. So I want to get it that if I edit the _colors.less file, the others who depends it should be recompiled.
Below the Code is not correct :
// main: ['./nav.less', './home.less']
Thank you!
Unfortunately, easy-less doesn't currently track @import references from other less files.
But you can achieve what you want by referencing each dependent file as a "main":
// main: ./nav.less, main: ./home.less
Here I have some more than one .less files, and them all depend on a _colors.less file. So I want to get it that if I edit the _colors.less file, the others who depends it should be recompiled.
Below the Code is not correct :
Thank you!