Skip to content

Commit 61e766c

Browse files
authored
fix: restore browser support
1 parent a8d53d4 commit 61e766c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index-web.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ import fetch from "isomorphic-fetch";
44
export default buildReferenceResolver(fetch, {
55
access: () => Promise.resolve(false),
66
readFile: () => Promise.resolve(""),
7+
constants: { F_OK: 0, R_OK: 0 } //tslint:disable-line
78
});

0 commit comments

Comments
 (0)