Skip to content

Commit

Permalink
Set originalFileName on emitFile calls (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoordsij authored Dec 6, 2024
1 parent 7deb869 commit 3a9bbaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/webfont-download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

0 comments on commit 3a9bbaa

Please sign in to comment.