Allow less imports of paths like 'dir/css'

This commit is contained in:
Max Brunsfeld
2016-08-23 14:03:26 -07:00
parent cc1a1436d0
commit 77fde7eb78

View File

@@ -29,7 +29,7 @@ var Import = function (path, features, options, index, currentFileInfo, visibili
this.css = !this.options.less || this.options.inline;
} else {
var pathValue = this.getPath();
if (pathValue && /[#\.\&\?\/]css([\?;].*)?$/.test(pathValue)) {
if (pathValue && /[#\.\&\?]css([\?;].*)?$/.test(pathValue)) {
this.css = true;
}
}