mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
fix build output with new vulcanize
This commit is contained in:
parent
83cc3684ef
commit
c3177113ff
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user