mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-20 14:23:58 +00:00
Refactor Webpack build scripts (#4093)
* Refactor Webpack build scripts * Add Gallery too * Fix icons * Update travis
This commit is contained in:
@ -29,3 +29,10 @@ gulp.task("compress-app", function compressApp() {
|
||||
|
||||
return merge(jsLatest, jsEs5, polyfills, translations);
|
||||
});
|
||||
|
||||
gulp.task("compress-hassio", function compressApp() {
|
||||
return gulp
|
||||
.src(path.resolve(paths.hassio_root, "**/*.js"))
|
||||
.pipe(zopfli())
|
||||
.pipe(gulp.dest(paths.hassio_root));
|
||||
});
|
||||
|
Reference in New Issue
Block a user