Exporting XMP edit files with main export

Hey, anybody know if there is a way to export the xmp edit files at the same time as I do the main JPG edit exports?

My workflow is like this: import a bunch of photos from a shoot, sort through and delete the bad ones, maybe edit a couple here and there, export those edits to JPGs (always keeping the original RAWs safe of course).

Later my catalog sometimes get wiped/things get deleted though, and when (months later) I look at the edited jpg and decide I can do a better edit and go to resume the edit, the original edit inside lightroom has been lost XD

So I guess I just want a way to batch export all the xmp files along with the jpgs, without having to do each photo individually. is this possible?

Thanks!

Edit: when I try to resume edits later I’m using the original RAW files which are never, ever deleted.