Permalink
Browse files

Added urlArgs for cache busting for url tokens

In less.js 1.6.3 urlArgs has been added.

See the original pull request for more information: less/less.js#1811
  • Loading branch information...
1 parent b1db742 commit c0c3fbd6b0cde513620faf1da75c3137d30d7eb4 @dotcore dotcore committed with dotcore Mar 3, 2014
Showing with 11 additions and 3 deletions.
  1. +8 −1 docs/options.md
  2. +3 −2 tasks/less.js
View
@@ -173,6 +173,13 @@ Default: `false`
Rewrite urls to be relative. false: do not modify urls.
+## urlArgs
+Type: `String`
+
+Default: none
+
+Appends string to url tokens for cache busting.
+
## customFunctions
Type: `Object`
@@ -256,4 +263,4 @@ less: {
}
}
```
-Useful for testing new features included in a beta or alpha release, or for comparing the compiled results from different versions of Less.js.
+Useful for testing new features included in a beta or alpha release, or for comparing the compiled results from different versions of Less.js.
View
@@ -62,7 +62,8 @@ module.exports = function(grunt) {
'sourceMapRootpath',
'sourceMapURL',
'strictMath',
- 'strictUnits'
+ 'strictUnits',
+ 'urlArgs'
]
};
@@ -304,4 +305,4 @@ module.exports = function(grunt) {
}
return result;
};
-};
+};

0 comments on commit c0c3fbd

Please sign in to comment.