Can't resolve 'buffer' after upgrading @forge/bridge

Hi all, after upgrading @forge/bridge from version “^2.1.3” to “^5.2.0”, I encountered this issue when running the build :

node --max-old-space-size=4096 ./node_modules/react-scripts/scripts/build.js

Creating an optimized production build…
Failed to compile.

Module not found: Error: Can’t resolve ‘buffer’ in ‘C:\Users\AsusPC\ForgeProjects\custom-ui-checklist\static\spa\node_modules\safer-buffer’
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
- add a fallback ‘resolve.fallback: { “buffer”: require.resolve(“buffer/”) }’
- install ‘buffer’
If you don’t want to include a polyfill, you can use an empty module like this:
resolve.fallback: { “buffer”: false }

Process finished with exit code 1