less/less.js — pull request #1611 by mcfedr (2013-10-23 09:04:05+00:00)
Title: Source map basepath works with higher up paths

Rather than just replacing the basepath we find the relative path. This means if our base is higher up the tree than our less file we can still find it.

For example, I have something like

/
- less/main.less
@import '../bower_comonents/bootstrap'
- bower_components/bootstrap.less

I set the basepath to be '/less'