Skip to content

Commit

Permalink
attempt to fix webpack polyfill issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ben9583 committed Sep 28, 2023
1 parent 477150d commit 00a1c45
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions gatsby-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ export const onCreateWebpackConfig: GatsbyNode["onCreateWebpackConfig"] = ({
alias: {
"~": path.resolve(__dirname, "/src"),
},
fallback: {
assert: false,
crypto: false,
http: false,
https: false,
os: false,
path: false,
querystring: false,
stream: false,
url: false,
util: false,
zlib: false,
},
},
})
}

0 comments on commit 00a1c45

Please sign in to comment.