mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
load readdir
This commit is contained in:
1 parent
8c08a00d64
commit
4015c103cf
1 file changed
+3
@@ -10,7 +10,10 @@ export class LocalVFS extends AbstractVFS {
|
||||
|
||||
async _init() {
|
||||
const path = await import("node:path/posix");
|
||||
const fs = await import("node:fs/promises");
|
||||
|
||||
this.normalizePath = path.normalize;
|
||||
this.readdir = fs.readdir;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user