Skip to content

Commit 3229b3c

Browse files
authored
fix: sources in source maps have relative paths (#1219)
1 parent 98950ef commit 3229b3c

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

src/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ function normalizeSourceMapForRuntime(map, loaderContext) {
484484
path.relative(loaderContext.rootContext, absoluteSource)
485485
);
486486

487-
return `webpack://${contextifyPath}`;
487+
return `webpack://./${contextifyPath}`;
488488
});
489489
}
490490

0 commit comments

Comments
 (0)