Opens a file picker for one replay file, resolving null when the player cancels. The
file:// import path: no fetch(), no drag-drop wiring to get wrong.
Parameters
accept: string = '.json'
Returns Promise<Blob|null>
Example
import { importReplayFile, pickReplayFile, readReplayFile, version } from'@datamoc/mwg';
Opens a file picker for one replay file, resolving null when the player cancels. The
file://import path: nofetch(), no drag-drop wiring to get wrong.