lessy icon indicating copy to clipboard operation
lessy copied to clipboard

How can I create source maps?

Open PiNotEqual3 opened this issue 11 years ago • 1 comments

From what I read about it, I need to add -sass-debug-info but I am not sure.

See https://github.com/less/less.js/pull/1038

Or maybe --source-map --source-map-basepath?

node_modules/less/bin/lessc --source-map --source-map-basepath="`pwd`"/web --source-map-rootpath=/ --strict-imports web/assets/site/css/bootstrap/bootstrap-full.less web/assets/site/css/bootstrap/bootstrap-full.css

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

Mainly I need to define custom parameters for lessc

PiNotEqual3 avatar Oct 30 '13 09:10 PiNotEqual3

lessy doesn't use lessc, but rather lessphp, which unfortunately doesn't support source maps https://github.com/leafo/lessphp/issues/531 unless someone adds sourcemap support, you'll be out of luck. you could add support for lessc to lessy, but I'm not sure such a dependency is the way to go..

Remo avatar Apr 27 '14 19:04 Remo