diff --git a/lib/less/tree/import.js b/lib/less/tree/import.js index 3787b052..750883d9 100644 --- a/lib/less/tree/import.js +++ b/lib/less/tree/import.js @@ -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; } }