Collect less files into one style sheet?

I use simplicity, I drag and drop the project into it and target less and less files on styles.css

The problem is that when compiling, fewer style sheets are simply written with each other, rather than combined. Is there a way to compile them all in styles.css?

+4
source share
1 answer

You need to create a file with a smaller volume that imports the subfiles. The main file will import the subfiles using:

@import "myfile1.less"; @import "myfile2.less"; 

To the compiler, you simply transfer the file with a smaller size.

Hope this helps // ph

+7
source

All Articles