Skip to content

Commit 02dde1a

Browse files
Merge pull request #7134 from SplinterSword/unnecessaryPackages
Removed Path-browerify and process packages
2 parents 9584a7a + 6083138 commit 02dde1a

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

gatsby-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* eslint-env node */
22

33
module.exports = {
4+
pathPrefix: "/layer5",
45
siteMetadata: {
56
title: "Layer5 - Expect more from your infrastructure",
67
description:

gatsby-node.js

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

package-lock.json

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

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@
8484
"lodash": "^4.17.21",
8585
"mini-css-extract-plugin": "^2.9.2",
8686
"mui-datatables": "^4.3.0",
87-
"path-browserify": "^1.0.1",
8887
"prism-react-renderer": "^2.0.6",
89-
"process": "^0.11.10",
9088
"prop-types": "^15.7.2",
9189
"react": "^18.2.0",
9290
"react-accessible-accordion": "^5.0.0",

0 commit comments

Comments
 (0)