|
|
@@ -88,14 +88,14 @@ const args = require("yargs")
|
|
|
.boolean("max-resource-size-enabled")
|
|
|
.options("max-resource-size", { description: "Maximum size of embedded resources (i.e. images, stylesheets, scripts and iframes)" })
|
|
|
.number("max-resource-size")
|
|
|
+ .options("remove-frames", { description: "Remove frames (puppeteer, webdriver-gecko, webdriver-chromium)" })
|
|
|
+ .boolean("remove-frames")
|
|
|
.options("remove-hidden-elements", { description: "Remove HTML elements which are not displayed" })
|
|
|
.number("remove-hidden-elements")
|
|
|
.options("remove-unused-styles", { description: "Remove unused CSS rules and unneeded declarations" })
|
|
|
.number("remove-unused-styles")
|
|
|
.options("remove-unused-fonts", { description: "Remove unused CSS font rules" })
|
|
|
.number("remove-unused-fonts")
|
|
|
- .options("remove-frames", { description: "Remove frames (puppeteer, webdriver-gecko, webdriver-chromium)" })
|
|
|
- .number("remove-frames")
|
|
|
.options("remove-imports", { description: "Remove HTML imports" })
|
|
|
.number("remove-imports")
|
|
|
.options("remove-scripts", { description: "Remove JavaScript scripts" })
|