sublime-less2css icon indicating copy to clipboard operation
sublime-less2css copied to clipboard

"main_file" issue: not compile css from subfolder

Open katmai7 opened this issue 11 years ago • 4 comments

I have following tree folders: (components) -----header.less -----footer.less -----content.less main.less i.sublime-projeect

I set "main_file": "main.less" in sublime project file. When i try compile any less file from componets folder. main.less doesn't compile.

I put files from components in the same folder main.less and try compile footer.less, main.less compiles too.

katmai7 avatar Jun 28 '13 17:06 katmai7

I have the same issue. Could anyone help?

pengyan518 avatar Jul 02 '13 05:07 pengyan518

looks like main_file is relative to the current less file being compiled, so you may need to set main_file: "../main.less" in your settings file

timdouglas avatar Jul 05 '13 10:07 timdouglas

../main.less does not work just appends it to the path as string.

C:\wamp\www\bootstrap\themes\dbootstrap\form..\main.css

jaetea avatar Jul 25 '13 15:07 jaetea

I think, that's a duplicate of #60. solution for this (e.g. be relative to the project file is proposed in the other issue)

johannesnagl avatar Oct 10 '13 17:10 johannesnagl