How to correctly execute lessc-rhino-1.6.3.js from command line

折月煮酒 提交于 2019-12-01 05:01:00

I just found out how to do it in a nice way. Rhino has a -f flag which makes it simple to do .

java -jar js.jar -f less-rhino-1.6.3.js lessc-rhino-1.6.3.js text.less text.css

The above snippet should do the work for you. The 1.6.2 release of Less split the cli-stuff from Less into lessc-rhino-[v].js and the actual library into less-rhino-[v].js. It seems like this is an undocumented change unfortunately.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!