Skip to content

Commit ede4f9b

Browse files
committed
Use absolute paths
1 parent 83e6324 commit ede4f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/config/webpack.config.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ module.exports = {
7777
publicPath: publicPath,
7878
// Point sourcemap entries to original disk location
7979
devtoolModuleFilenameTemplate: info =>
80-
path.relative(paths.appSrc, info.absoluteResourcePath),
80+
path.resolve(info.absoluteResourcePath),
8181
},
8282
resolve: {
8383
// This allows you to set a fallback for where Webpack should look for modules.

0 commit comments

Comments
 (0)