vtst / ow

Various Eclipse plugins for web development

Home Page:http://www.normalesup.org/~simonet/soft/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LESS:Unable to interpret argument O0

DhahriHaythem opened this issue · comments

when I compile less in eclipse I get this message:
Unable to interpret argument O0 - if it is a plugin (less-plugin-O0), make sure that it is installed under or at the same level as less
it is the optimization level option that I can not turn off
I try it with the command line:
lessc style.less > style.ccs works well but
lessc style.less -O0 > style.ccs puts the same error message in the css file

How do you resolved it?

add these line to lessc file
case 'O0':
case 'O1':
case 'O1':
break;

in switch (arg) statement before the default

commented

worked perfectly... Thanks..!

Hello,
Please u can send files lessc.cmd