Skip to content

Commit

Permalink
fix build output with new vulcanize
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Jan 25, 2016
1 parent 83cc368 commit c317711
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gulpfile.js
Expand Up @@ -42,8 +42,10 @@ var cleanupPipe = lazypipe()
// remove leading whitespace and comments
.pipe(polyclean.leftAlignJs)
// remove html wrapper
.pipe(replace, '<html><head><meta charset="UTF-8">', '')
.pipe(replace, '</head><body></body></html>', '')
.pipe(replace, '<html><head>', '')
.pipe(replace, '<meta charset="UTF-8">', '')
.pipe(replace, '</head><body><div hidden="" by-vulcanize="">', '')
.pipe(replace, '</div></body></html>', '')
;

function vulcanizeWithExcludes(target, excludes) {
Expand Down

0 comments on commit c317711

Please sign in to comment.