From 4046534fa8f3309842ac06637968cdb71e50b661 Mon Sep 17 00:00:00 2001 From: Steve Repsher Date: Wed, 17 Jan 2024 17:58:32 -0500 Subject: [PATCH] Compress static HTML/XML (#19437) --- build-scripts/gulp/compress.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build-scripts/gulp/compress.js b/build-scripts/gulp/compress.js index b811c23bea6a..aa1567b72111 100644 --- a/build-scripts/gulp/compress.js +++ b/build-scripts/gulp/compress.js @@ -8,7 +8,10 @@ const zopfliOptions = { threshold: 150 }; const compressDist = (rootDir) => gulp - .src([`${rootDir}/**/*.{js,json,css,svg}`]) + .src([ + `${rootDir}/**/*.{js,json,css,svg,xml}`, + `${rootDir}/{authorize,onboarding}.html`, + ]) .pipe(zopfli(zopfliOptions)) .pipe(gulp.dest(rootDir));