Dotless failing to compile ; in Bootstrap 3 less source

后端 未结 4 1552
时光说笑
时光说笑 2021-01-01 15:32

I use dotless 1.3.1.0 compiling less-files. This worked fine with bootstrap 2.x, but after switching to bootstrap 3.0.0 (downloaded the source from here: http://getbootstrap

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-01 15:50

    I have put together an httphandler which will compile less using lessjs.

    It's more of a proof of concept than production quality code, however it may be useful for some people as a starting point.

    You can find the source here:

    https://bitbucket.org/martinbooth/clearscriptless

    In case anyone is interested in trying to do this using jurassic, you can find my attempt here:

    https://bitbucket.org/martinbooth/jurassicless

    I don't recommend Jurassic for this because

    • it required a few bug fixes to the library which are not currently integrated into the main project My changes are now in the master branch of Jurassic so this is no longer an issue (though the latest release does not currently include them)
    • it is very slow, hence the reason I tried clearscript

提交回复
热议问题