mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Allow less imports of paths like 'dir/css'
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user