You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.js
+7-3
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ function cli(process, beforeMinifyCallback) {
31
31
.option('-f, --format <options>','Controls output formatting, see examples below')
32
32
.option('-o, --output [output-file]','Use [output-file] as output instead of STDOUT')
33
33
.option('-O <n> [optimizations]','Turn on level <n> optimizations; optionally accepts a list of fine-grained options, defaults to `1`, see examples below, IMPORTANT: the prefix is O (a capital o letter), NOT a 0 (zero, a number)',function(val){returnMath.abs(parseInt(val));})
34
+
.option('--batch-suffix <suffix>','A suffix (without extension) appended to input file name when processing in batch mode (`-min` is the default)','-min')
34
35
.option('--inline [rules]','Enables inlining for listed sources (defaults to `local`)')
35
36
.option('--inline-timeout [seconds]','Per connection timeout when fetching remote stylesheets (defaults to 5 seconds)',parseFloat)
36
37
.option('--remove-inlined-files','Remove files inlined in <source-file ...> or via `@import` statements')
@@ -172,6 +173,7 @@ function cli(process, beforeMinifyCallback) {
172
173
}
173
174
174
175
varconfigurations={
176
+
batchSuffix: inputOptions.batchSuffix,
175
177
beforeMinifyCallback: beforeMinifyCallback,
176
178
debugMode: debugMode,
177
179
removeInlinedFiles: removeInlinedFiles,
@@ -238,16 +240,18 @@ function minify(process, options, configurations, data) {
0 commit comments