Make two builds of hassio (#6105)

This commit is contained in:
Paulus Schoutsen
2020-06-05 21:56:56 -07:00
committed by GitHub
parent 7050d19be7
commit e384f76ac1
6 changed files with 33 additions and 26 deletions

View File

@@ -129,7 +129,7 @@ gulp.task("webpack-watch-hassio", () => {
webpack(
createHassioConfig({
isProdBuild: false,
latestBuild: false,
latestBuild: true,
})
).watch({}, handler());
});
@@ -139,9 +139,8 @@ gulp.task(
() =>
new Promise((resolve) =>
webpack(
createHassioConfig({
bothBuilds(createHassioConfig, {
isProdBuild: true,
latestBuild: false,
}),
handler(resolve)
)