From 87ef05c09ecb9e0cae9489626555bf5d011b42cb Mon Sep 17 00:00:00 2001 From: Tim Fish Date: Fri, 13 Dec 2024 14:29:20 -0500 Subject: [PATCH] lint --- packages/vite/src/node/plugins/importAnalysisBuild.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vite/src/node/plugins/importAnalysisBuild.ts b/packages/vite/src/node/plugins/importAnalysisBuild.ts index 0565a2a609d9ac..615bf6ad722b95 100644 --- a/packages/vite/src/node/plugins/importAnalysisBuild.ts +++ b/packages/vite/src/node/plugins/importAnalysisBuild.ts @@ -698,7 +698,7 @@ export function buildImportAnalysisPlugin(config: ResolvedConfig): Plugin { ]) as SourceMap map.toUrl = () => genSourceMapUrl(map) - const originalDebugId = chunk.map.debugId; + const originalDebugId = chunk.map.debugId chunk.map = map if (buildSourcemap === 'inline') { @@ -709,7 +709,7 @@ export function buildImportAnalysisPlugin(config: ResolvedConfig): Plugin { chunk.code += `\n//# sourceMappingURL=${genSourceMapUrl(map)}` } else { if (originalDebugId) { - map.debugId = originalDebugId; + map.debugId = originalDebugId } const mapAsset = bundle[chunk.fileName + '.map'] if (mapAsset && mapAsset.type === 'asset') {