Skip to content

Commit

Permalink
feat: add originalFileName to emitted assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Nov 8, 2024
1 parent 79d1021 commit 46e4a94
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ ${` default: return new Promise(function(resolve, reject) {
const ref = this.emitFile({
type: 'asset',
name: assetName,
originalFileName: absoluteAssetPath,
source: transformedAssetContents,
});
magicString.overwrite(
Expand Down

0 comments on commit 46e4a94

Please sign in to comment.