Skip to content

Commit 77fde7e

Browse files
committed
Allow less imports of paths like 'dir/css'
1 parent cc1a143 commit 77fde7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/less/tree/import.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var Import = function (path, features, options, index, currentFileInfo, visibili
2929
this.css = !this.options.less || this.options.inline;
3030
} else {
3131
var pathValue = this.getPath();
32-
if (pathValue && /[#\.\&\?\/]css([\?;].*)?$/.test(pathValue)) {
32+
if (pathValue && /[#\.\&\?]css([\?;].*)?$/.test(pathValue)) {
3333
this.css = true;
3434
}
3535
}

0 commit comments

Comments
 (0)