The esri arcgis-map web component when built appears to bundle in and load transformations and geodesic length. These are being bundled and loaded despite not being used. When using CDN they do not get loaded.
I've created the most basic web app with three versions (CDN, Vite with web map and vite with arcgis-map)
https://github.com/davewilton/esri_tests/tree/master/


You can see above that arc-gismap is having a huge impact on the performance of the page. They are loaded as well as bundled, but like I say this is unique to bundling and arcgis-map.
The lighthouse score is 35 vs 52 just to use arc-gismap when bundled because it loads these two unnecessary files.


Also note when using esri it causes lighthouse to hang right at the end (this is limited to including maps). If you reload the page at this point it will give you results

@AndyGup any ideas? Many thanks