Skip to content

Commit 9310b3a

Browse files
authoredJul 6, 2023
fix(pluginContainer): drop previous sourcesContent (#13722)
1 parent 71516db commit 9310b3a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎packages/vite/src/node/server/pluginContainer.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -565,10 +565,7 @@ export async function createPluginContainer(
565565
combinedMap = m as SourceMap
566566
} else {
567567
combinedMap = combineSourcemaps(cleanUrl(this.filename), [
568-
{
569-
...(m as RawSourceMap),
570-
sourcesContent: combinedMap.sourcesContent,
571-
},
568+
m as RawSourceMap,
572569
combinedMap as RawSourceMap,
573570
]) as SourceMap
574571
}

0 commit comments

Comments
 (0)
Please sign in to comment.