We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbfc3e9 commit 73b80d5Copy full SHA for 73b80d5
packages/vite/src/node/server/sourcemap.ts
@@ -12,7 +12,7 @@ export async function injectSourcesContent(
12
await Promise.all(
13
map.sources.map(async (sourcePath, i) => {
14
map.sourcesContent![i] = await fs.readFile(
15
- path.resolve(sourceRoot, sourcePath),
+ path.resolve(sourceRoot, decodeURI(sourcePath)),
16
'utf-8'
17
)
18
})
0 commit comments