This looks like an interesting article showing how to analyse a webpack bundle: https://web.dev/codelab-remove-unused-code/
I am looking for a similar one that finds exposed strings.
Theoretically you can build a partial sitemap just from the bundle.
This may include any graphql.