less-plugin-replace
Simply replaces given strings with other strings
lessc usage
Install..
npm install -g less-plugin-replace
and then on the command line,
lessc file.less --replace="{pattern}"
The pattern is {searchstring}|{replacestring}
lessc path/to/source.less --replace="patterns='my/path/before/compile|my/new/path/after/compile'"
Programmatic usage
var LessPluginReplace = ;var replacePlugin = patterns: match: /foo/g replacement: 'bar' match: 'my/path/before/compile' replacement: 'my/new/path/after/compile' ; less
Grunt usage
module { grunt; grunt; grunt;};