fix build output with new vulcanize

This commit is contained in:
Daniel Freedman 2016-01-25 10:48:22 -08:00
parent 83cc3684ef
commit c3177113ff

View File

@ -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) {