We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f81469 commit 47b6765Copy full SHA for 47b6765
packages/react-error-overlay/package.json
@@ -55,6 +55,7 @@
55
"jest": "25.5.4",
56
"jest-fetch-mock": "2.1.2",
57
"object-assign": "4.1.1",
58
+ "path-browserify": "^1.0.1",
59
"promise": "8.1.0",
60
"raw-loader": "^3.1.0",
61
"react": "^16.12.0",
packages/react-error-overlay/src/utils/unmapper.js
@@ -9,7 +9,7 @@
9
import StackFrame from './stack-frame';
10
import { getSourceMap } from './getSourceMap';
11
import { getLinesAround } from './getLinesAround';
12
-import path from 'path';
+import path from 'path-browserify';
13
14
function count(search: string, string: string): number {
15
// Count starts at -1 because a do-while loop always runs at least once
0 commit comments