Getting source maps with customize-cra

We are using customize-cra package for a React.js project. And I want to add source maps so that the logged errors are more readable. The customize-cra pacakage uses overrides to provide custom webpack functionalities. And I am unable to figure out how to integrate sentry with that. Can anyone help me with that?