File size: 420 Bytes
59d509e |
1 2 |
import{x as s,P as i,z as t,D as o}from"./index-C8iGwwE4.js";s();var d=class extends i{constructor(e){super(e),this.rootDir=(void 0)(e),(void 0)((void 0)(this.rootDir))||(void 0)(this.rootDir)}async emscriptenOpts(e){return{...e,preRun:[...e.preRun||[],r=>{let n=r.FS.filesystems.NODEFS;r.FS.mkdir(t),r.FS.mount(n,{root:this.rootDir},t)}]}}async dumpTar(e,r){return o(e,r)}async close(e){e.quit()}};export{d as NodeFS};
|