.inner { content: "inner/file1.less" } @import "file2"; // should get the one in inner