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:
+2
-6
@@ -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 %>'
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user