Expose build type on window (#630)

* Expose build type on window

* Build two panels for Hass.io
This commit is contained in:
Paulus Schoutsen
2017-11-14 22:39:20 -08:00
committed by GitHub
parent de87c5b19b
commit 6fac4e9027
6 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ async function buildHassioPanel(es6) {
});
return minifyStream(stream, es6)
.pipe(rename('hassio-main.html'))
.pipe(rename(`hassio-main-${es6 ? 'latest' : 'es5'}.html`))
.pipe(gulp.dest('build-temp'));
}