diff --git a/lib/less-browser/utils.js b/lib/less-browser/utils.js index 31ef9a56..e7439535 100644 --- a/lib/less-browser/utils.js +++ b/lib/less-browser/utils.js @@ -1,6 +1,7 @@ module.exports = { extractId: function(href) { return href.replace(/^[a-z-]+:\/+?[^\/]+/, '' ) // Remove protocol & domain + .replace(/[\?\&]livereload=\w+/,'' ) // Remove LiveReload cachebuster .replace(/^\//, '' ) // Remove root / .replace(/\.[a-zA-Z]+$/, '' ) // Remove simple extension .replace(/[^\.\w-]+/g, '-') // Replace illegal characters