File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ const PLUGIN_NAME: string = 'terser';
8
8
9
9
/**
10
10
* @param { MinifyOptions } gulpTerserOptions: gulp-terser configuration
11
- * @param { typeof minify | undefined } cMinifyFunc :custom minify function
11
+ * @param { typeof minify | undefined } customMinifyFunc :custom minify function
12
12
*/
13
- function gulpTerser ( gulpTerserOptions : MinifyOptions = { } , cMinifyFunc : typeof minify | undefined ) : Transform {
14
- const minifyFunc : typeof minify = cMinifyFunc ?? minify ;
13
+ function gulpTerser ( gulpTerserOptions : MinifyOptions = { } , customMinifyFunc : typeof minify | undefined ) : Transform {
14
+ const minifyFunc : typeof minify = customMinifyFunc ?? minify ;
15
15
16
16
return obj ( async function ( chunk : any , enc : BufferEncoding , callback : TransformCallback ) : Promise < void > {
17
17
if ( chunk . isStream ( ) ) {
You can’t perform that action at this time.
0 commit comments