asual / lesscss-engine

LESS Engine - A Java wrapper for less.js
http://www.asual.com/lesscss
Apache License 2.0
221 stars 66 forks source link

Allow generation of source maps #43

Closed nalbion closed 10 years ago

nalbion commented 11 years ago

less.js 1.5.0 will have support for source map generation. It's already implemented, just waiting for the next release.

https://github.com/less/less.js/issues/1050

dotnetwise commented 11 years ago

Duplicate of #56

squiddle commented 10 years ago

less.js 1.5.0 is released now

rsouthgate commented 10 years ago

Can we get a release with the less 1.5 in? Added to master 3 months ago - is it stable?

xeroxoid commented 10 years ago

+1 Would be really handy for front-end development

rsouthgate commented 10 years ago

Had to jump through hoops to get 1.5 to use the commonJS requires in rhino to pull in the source map generator, but I see in the less rhino 1.6.3 version it's all been pulled in so should be fairly simple to get source maps going. The only thing is passing the sourcemap / sourcemap paths through as options from the LessOptions class...

asual commented 10 years ago

I just added basic support for source maps. Please, give it a try and post any feedback. Once finalized I will make a 1.5.1 release.