Skip to content

Commit

Permalink
fix removal of key in production build
Browse files Browse the repository at this point in the history
  • Loading branch information
opus1269 committed Nov 8, 2015
1 parent 0afde81 commit 75bd4b0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,8 @@ module.exports = function(grunt) {
},
lineremover: {
prod: {
files: {'dist/app/manifest.json': 'dist/app/manifest.json'},
options: {
exclusionPattern: /"key":/g
}
options: {exclusionPattern: /"key":/},
files: {'dist/app/manifest.json': 'dist/app/manifest.json'}
}
},
replace: {
Expand All @@ -78,7 +76,7 @@ module.exports = function(grunt) {
replacement: 'flickrapi.js'
}]
},
files: {'dist/app/manifest.json': 'app/manifest.json'}
files: {'dist/app/manifest.json': 'dist/app/manifest.json'}
},
dev: {
// remove Google analytics tracking
Expand Down

0 comments on commit 75bd4b0

Please sign in to comment.