How do I build the Rhino specific versions of less?

旧街凉风 提交于 2019-12-01 23:42:51

问题


I want to run the latest version of less from Java, for this (I believe) I need the Rhino specific versions of less. From the less website:

Each less.js release contains also rhino-compatible version.

But this appears to have been not the case since v1.7.5.

So I've installed NPM, installed Grunt, downloaded the less source from GitHub, ran grunt -help to find the rhino task but have fallen at the last hurdle:

C:\Temp\less.js-2.5.0> grunt rhino

Running "browserify:rhino" (browserify) task
Verifying property browserify.rhino exists in config...ERROR
>> Unable to process task.
Warning: Required config property "browserify.rhino" missing. Use --force to continue.

Aborted due to warnings.

Forcing doesn't help (produces an empty lessc-rhino.js file) - any ideas as to what I'm missing?

来源:https://stackoverflow.com/questions/29810518/how-do-i-build-the-rhino-specific-versions-of-less

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