Exporting bitmap (png/ jpg) for web:
In photoshop, I usually use all my images enclosed in a smart object, so when I export them to @2x, @3x etc, I know my new files are going to retain all the good stuff.
What about XD?
This article I wrote might help you figure out what you'll need to do to get the highest fidelity assets out of your export: https://medium.com/thinking-design/protip-exporting-assets-in-adobe-xd-c586996de703
Thank you very much, I’ve imagined something like it, but I needed to be sure.