Skip to content

Commit

Permalink
fix(pluginContainer): drop previous sourcesContent (#13722)
Browse files Browse the repository at this point in the history
  • Loading branch information
sun0day committed Jul 6, 2023
1 parent 71516db commit 9310b3a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/vite/src/node/server/pluginContainer.ts
Expand Up @@ -565,10 +565,7 @@ export async function createPluginContainer(
combinedMap = m as SourceMap
} else {
combinedMap = combineSourcemaps(cleanUrl(this.filename), [
{
...(m as RawSourceMap),
sourcesContent: combinedMap.sourcesContent,
},
m as RawSourceMap,
combinedMap as RawSourceMap,
]) as SourceMap
}
Expand Down

0 comments on commit 9310b3a

Please sign in to comment.