We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7caef42 commit 24e376aCopy full SHA for 24e376a
packages/vite/src/node/server/sourcemap.ts
@@ -44,7 +44,7 @@ export async function injectSourcesContent(
44
for (let index = 0; index < map.sources.length; index++) {
45
const sourcePath = map.sources[index]
46
if (
47
- !sourcesContent[index] &&
+ sourcesContent[index] == null &&
48
sourcePath &&
49
!virtualSourceRE.test(sourcePath)
50
) {
0 commit comments