|
@@ -30,7 +30,6 @@ const args = require("yargs")
|
|
|
yargs.positional("output", { description: "Output filename", type: "string" });
|
|
yargs.positional("output", { description: "Output filename", type: "string" });
|
|
|
})
|
|
})
|
|
|
.default({
|
|
.default({
|
|
|
- "background-save": true,
|
|
|
|
|
"back-end": "puppeteer",
|
|
"back-end": "puppeteer",
|
|
|
"browser-headless": true,
|
|
"browser-headless": true,
|
|
|
"browser-executable-path": "",
|
|
"browser-executable-path": "",
|
|
@@ -201,6 +200,7 @@ const args = require("yargs")
|
|
|
.options("output-directory", { description: "Path to where to save files, this path must exist." })
|
|
.options("output-directory", { description: "Path to where to save files, this path must exist." })
|
|
|
.string("output-directory")
|
|
.string("output-directory")
|
|
|
.argv;
|
|
.argv;
|
|
|
|
|
+args.backgroundSave = true;
|
|
|
args.compressCSS = args.compressCss;
|
|
args.compressCSS = args.compressCss;
|
|
|
args.compressHTML = args.compressHtml;
|
|
args.compressHTML = args.compressHtml;
|
|
|
args.includeBOM = args.includeBom;
|
|
args.includeBOM = args.includeBom;
|