Skip to content

Commit

Permalink
Move node polyfills in webpack config to 3rd party in preparation for…
Browse files Browse the repository at this point in the history
… webpack 5
  • Loading branch information
andriijas committed May 5, 2020
1 parent 1f81469 commit 47b6765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"jest": "25.5.4",
"jest-fetch-mock": "2.1.2",
"object-assign": "4.1.1",
"path-browserify": "^1.0.1",
"promise": "8.1.0",
"raw-loader": "^3.1.0",
"react": "^16.12.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-error-overlay/src/utils/unmapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import StackFrame from './stack-frame';
import { getSourceMap } from './getSourceMap';
import { getLinesAround } from './getLinesAround';
import path from 'path';
import path from 'path-browserify';

function count(search: string, string: string): number {
// Count starts at -1 because a do-while loop always runs at least once
Expand Down

0 comments on commit 47b6765

Please sign in to comment.