Skip to content

Commit

Permalink
fix: sources in source maps have relative paths (webpack-contrib#1219)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacl committed Nov 4, 2020
1 parent 98950ef commit 3229b3c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion src/utils.js
Expand Up @@ -484,7 +484,7 @@ function normalizeSourceMapForRuntime(map, loaderContext) {
path.relative(loaderContext.rootContext, absoluteSource)
);

return `webpack://${contextifyPath}`;
return `webpack://./${contextifyPath}`;
});
}

Expand Down

0 comments on commit 3229b3c

Please sign in to comment.