Skip to content

Commit

Permalink
Merge pull request #61 from CinCoders/feature/int-818
Browse files Browse the repository at this point in the history
[INT 818] Fix buffer polyfill in webpack 5
  • Loading branch information
dcruzb authored Jul 24, 2023
2 parents dc1a2dc + e4417fc commit 4979496
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 14 deletions.
59 changes: 46 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@
"react-oidc-context": "^2.2.2",
"react-toastify": "^9.1.1",
"react-transition-group": "^4.4.2",
"styled-components": "^5.3.0"
"styled-components": "^5.3.0",
"buffer": "^6.0.3"
},
"overrides": {
"chokidar": "3.5.3",
Expand Down
7 changes: 7 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
resolve: {
fallback: {
buffer: require.resolve('buffer')
}
}
};

0 comments on commit 4979496

Please sign in to comment.