fixed string replace issue that caused problems, this removes build cache busting in requirejs, will need to fix that later

This commit is contained in:
Torkel Ödegaard
2014-03-17 17:24:38 +01:00
parent 50771b0762
commit c22c4b864c
2 changed files with 3 additions and 7 deletions
+2 -6
View File
@@ -26,15 +26,11 @@ module.exports = function(grunt) {
options: {
replacements: [
{
pattern: /(?:^|\/\/)(.*)@REV@/,
replacement: '$1'+desc.object
},
{
pattern: /@REV@/,
pattern: /@REV@/g,
replacement: desc.object
},
{
pattern: /@grafanaVersion@/,
pattern: /@grafanaVersion@/g,
replacement: 'v<%= pkg.version %>'
}
]