We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7d8432 commit dc46fc5Copy full SHA for dc46fc5
src/gulp_plugin.ts
@@ -44,7 +44,7 @@ export class GulpPlugin extends Transform {
44
* @param done The function to invoke when the supplied chunk has been processed.
45
* @returns Resolves when the specified chunk has been transformed.
46
*/
47
- override async _transform(file: File, encoding: NodeJS.BufferEncoding, done: TransformCallback): Promise<void> { // eslint-disable-line @typescript-eslint/no-misused-promises
+ override async _transform(file: File, encoding: BufferEncoding, done: TransformCallback): Promise<void> { // eslint-disable-line @typescript-eslint/no-misused-promises
48
try {
49
if (!this.#silent) log(`Minifying: ${file.relative}`);
50
file.contents = Buffer.from(await this.#transformer.transform(file.path), encoding);
0 commit comments