cloudhead/less.js — comment on commit 557177c76dc800c1e3e26917f377f97b0d67dba2
File:  line 0
By carlsverre:

Just tested this, and it fails when the imported file is in a subdirectory.

break in node_modules/less/lib/less/parser.js:205
203 debugger;
204 if (e.filename && env.filename && (e.filename !== env.filename)) {
205 return parser.imports.contents[basename(e.filename)];
206 } else {
207 return input;
debug> repl
Press Ctrl + C to leave debug repl
> basename(e.filename)
'colors.less'
> parser.imports.contents
{ 'test/colors.less': 'body {\n color: #330033;\n};\n' }