Skip to content

Commit b72d4fc

Browse files
Timergaearon
authored andcommitted
Improve unmapper file heuristic, add limited warning support, and ignore internal errors (#2128)
* Browser sort is not stable * Fix ordering of final message * Register the warning capture * Display only createElement warnings * Use different method name * Fix regression * Ignore errors with only node_module files * Ignore null files, too * Revise count * Revise warning * Update overlay.js * Add support for facebook/react#9679 * Use absolute paths * Trim path if it's absolute * Make sure it's an absolute path * Oops * Tweak for new behavior * Make it safer * More resilient warnings * Prettier output * Fix flow
1 parent 3d305f6 commit b72d4fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/webpack.config.dev.js

+1-1
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)