From 3a9bbaac96c37c76720fe28c78aa9725e381418d Mon Sep 17 00:00:00 2001 From: Jesper Noordsij <45041769+jnoordsij@users.noreply.github.com> Date: Fri, 6 Dec 2024 10:40:48 +0100 Subject: [PATCH] Set originalFileName on emitFile calls (#66) --- src/webfont-download.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webfont-download.ts b/src/webfont-download.ts index a48ebc5..adfc0cd 100644 --- a/src/webfont-download.ts +++ b/src/webfont-download.ts @@ -293,6 +293,7 @@ export class WebfontDownload { saveFile(fileName: string, source: string | Buffer): string { const ref = this.emitFile({ name: fileName, + originalFileName: fileName, type: 'asset', source: source, });