In the documentation for APM Real User Monitoring Javascript Agent 5.x (current) there is a chapter for "Source maps".
Introduction | APM Real User Monitoring JavaScript Agent Reference [5.x] | Elastic
No link on that page for how you generate a sourcemap works. They all point back to "What is APM" which is of no use...
Where are documentation errors supposed to be reported?