How to get the Rhino edition of Less v.2.0.0 using bower as a package manager

柔情痞子 提交于 2019-12-10 08:42:52

问题


I'm using the Rhino edition of less.js, extracted to my devlopment environment using bower.

Under 1.7.5 everything worked fine, bower would get all the different editions, both Node and Rhino editions would be stored in my environment.

With the recent update to 2.0.0 it would seem that only the Node versions are included. Is there some way to get bower to extract the Rhino edition?

I can of-course download it manually, but then I would have to manually maintain that reference. Keeping track of new versions is one of my main reasons for using a package manager.


回答1:


Well from the comments of How do I build the Rhino specific versions of less?:

@steve-eynon wrote:

The GitHub Issue [Rhino Support in 2.x](The GitHub Issue Rhino Support in 2.x suggests that there is no Rhino support for the 2.x versions... :( ) suggests that there is no Rhino support for the 2.x versions... :(

So currently you can't update the Rhino version of less.js with bower too.

according to http://github.com/Deraen/boot-less/issues/4 you should be able to use http://github.com/SomMeri/less4j without Rhino. And according to http://github.com/less/less.js/issues/2322#issuecomment-65631343 v2.1 should be the latest version working with Rhino.



来源:https://stackoverflow.com/questions/26959463/how-to-get-the-rhino-edition-of-less-v-2-0-0-using-bower-as-a-package-manager

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