Since 5.19.0 enhanced-resolve has built-in support tsconfig.json configurations and references (and other things like extends and etc).
Ref: https://github.com/webpack/enhanced-resolve/releases/tag/v5.19.0
Options - https://github.com/webpack/enhanced-resolve?tab=readme-ov-file#resolver-options (other options like extensions/mainFields/etc are also supported)
/cc @jonaskello friendly ping here