Skip to content

Commit

Permalink
Merge pull request ManageIQ#4403 from stackus/bugfix/disable-self-ser…
Browse files Browse the repository at this point in the history
…vice-minification

Disable minification and annotation injections
  • Loading branch information
Dan Clarizio committed Sep 17, 2015
2 parents 6b87c28 + 41b7ed7 commit 9fb4495
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions spa_ui/self_service/gulp/tasks/optimize.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,13 @@ module.exports = function(gulp, options) {
.pipe(cssFilter.restore())
// Get the custom javascript
.pipe(jsAppFilter)
.pipe(ngAnnotate(config.ngAnnotateOptions))
.pipe(uglify())

// FIXME Disabling minifiction and injection until the following issue with ng-annotate has been resolved
// Issue : https://github.com/olov/ng-annotate/issues/168
//
//.pipe(ngAnnotate(config.ngAnnotateOptions))
//.pipe(uglify())

.pipe(getHeader())
.pipe(jsAppFilter.restore())
// Get the vendor javascript
Expand Down

0 comments on commit 9fb4495

Please sign in to comment.