4

I am using simpless, I drag the project into it and target all the less files to styles.css

The issue is when compiling the less stylesheets are just over writing each other rather than being merged together. Is there a way when compiling to merge them all into styles.css ?

Adam
  • 812
  • 3
  • 13
  • 22
  • Answered in previous quesion. Have a look [here][1] [1]: http://stackoverflow.com/questions/3538605/join-two-less-files-into-one-css-file – HCS-Support Feb 05 '13 at 15:10

1 Answers1

7

You have to create a master less file that imports the subfiles. The master file would import the subfiles with:

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

Into the compiler, you just pass the master less file.

Hope this helps // ph

Patrick Hammer
  • 1,172
  • 14
  • 25