Skip to content

Commit

Permalink
Upgrade htmlmin
Browse files Browse the repository at this point in the history
  • Loading branch information
aglitchman committed Jan 30, 2024
1 parent 3ea4b92 commit 6e9710b
Show file tree
Hide file tree
Showing 3 changed files with 2,617 additions and 1,516 deletions.
8 changes: 6 additions & 2 deletions playable_ad/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const chalk = require("chalk");
const download = require("gulp-download-stream");
const fancyLog = require("fancy-log");
const fs = require("fs");
const htmlmin = require("gulp-htmlmin");
const htmlmin = require('gulp-html-minifier-terser');
const https = require("https");
const ini = require("ini");
const matchAll = require("string.prototype.matchall");
Expand Down Expand Up @@ -463,7 +463,11 @@ function bundlePlayableAds() {
preserveLineBreaks: true,
removeComments: true,
minifyCSS: true,
minifyJS: true,
minifyJS: {
compress: {
sequences: false
}
},
})
)
.pipe(printSize(" resulting", 2 * 1024 * 1024))
Expand Down
Loading

0 comments on commit 6e9710b

Please sign in to comment.