From 7757787a1f5763bcb756b155020f916f642d788c Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Fri, 2 Sep 2022 11:59:55 +1000 Subject: [PATCH] fix: wrong filename in manifest --- packages/vite/src/node/plugins/asset.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite/src/node/plugins/asset.ts b/packages/vite/src/node/plugins/asset.ts index fa5d53d2f40ea0..dd91984fe0dcd4 100644 --- a/packages/vite/src/node/plugins/asset.ts +++ b/packages/vite/src/node/plugins/asset.ts @@ -489,7 +489,7 @@ async function fileToBuiltUrl( } else { duplicateAssets.push({ name, - fileName, + fileName: map.get(contentHash)!, type: 'asset', source: content, isAsset: true