diff --git a/lib/less/browser.js b/lib/less/browser.js index 5ac2b93d..44c36974 100644 --- a/lib/less/browser.js +++ b/lib/less/browser.js @@ -163,7 +163,7 @@ function loadStyleSheet(sheet, callback, reload, remaining) { contents[href] = data; // Updating top importing parser content cache new(less.Parser)({ optimization: less.optimization, - paths: [href.replace(/[\w\.-]+$/, '')], + paths: [href.replace(/[\w\.%-]+$/, '')], mime: sheet.type, filename: href, 'contents': contents, // Passing top importing parser content cache ref down.