Merge pull request #3332 from Polymer/fix-build-updated-vulcanize

fix build output with new vulcanize
This commit is contained in:
Steve Orvell 2016-01-25 11:04:33 -08:00
commit 3ffc3e2ba0

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