Skip to content

Commit 074e8ae

Browse files
Merge pull request #7132 from saurabhraghuvanshii/revert
revert: pr #7109
2 parents eae32ac + 6238509 commit 074e8ae

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

gatsby-node.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,9 @@ exports.onCreateWebpackConfig = ({ actions, stage, getConfig }) => {
708708
actions.setWebpackConfig({
709709
resolve: {
710710
fallback: {
711-
path: false,
711+
path: require.resolve("path-browserify"),
712+
process: require.resolve("process/browser"),
713+
url: require.resolve("url/"),
712714
},
713715
},
714716
});

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
"mui-datatables": "^4.3.0",
8787
"path-browserify": "^1.0.1",
8888
"prism-react-renderer": "^2.0.6",
89+
"process": "^0.11.10",
8990
"prop-types": "^15.7.2",
9091
"react": "^18.2.0",
9192
"react-accessible-accordion": "^5.0.0",

0 commit comments

Comments
 (0)