single-file-cli 1.0.43 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/args.js +3 -0
- package/lib/single-file.js +1 -1
- package/package.json +2 -2
package/args.js
CHANGED
|
@@ -66,6 +66,7 @@ const args = require("yargs")
|
|
|
66
66
|
"filename-replacement-character": "_",
|
|
67
67
|
"filename-max-length": 192,
|
|
68
68
|
"filename-max-length-unit": "bytes",
|
|
69
|
+
"replace-emojis-in-filename": false,
|
|
69
70
|
"group-duplicate-images": true,
|
|
70
71
|
"max-size-duplicate-images": 512 * 1024,
|
|
71
72
|
"http-header": [],
|
|
@@ -199,6 +200,8 @@ const args = require("yargs")
|
|
|
199
200
|
.number("filename-max-length")
|
|
200
201
|
.options("filename-max-length-unit", { description: "Specify the unit of the maximum length of the filename ('bytes' or 'chars')" })
|
|
201
202
|
.string("filename-max-length-unit")
|
|
203
|
+
.options("replace-emojis-in-filename", { description: "Replace emojis in the filename with their unicode text representation" })
|
|
204
|
+
.boolean("replace-emojis-in-filename")
|
|
202
205
|
.options("group-duplicate-images", { description: "Group duplicate images into CSS custom properties" })
|
|
203
206
|
.boolean("group-duplicate-images")
|
|
204
207
|
.options("max-size-duplicate-images", { description: "Maximum sie in bytes of duplicate images stored as CSS custom properties" })
|