Use XState As An ES Module

I didn't find directions on how to use XState as an ES module in the docs. This is what I'm doing for that approach.

Notes

~ fin ~