*createRequire needed again
This commit is contained in:
parent
56ee75ffca
commit
ab6ee0f1a7
|
@ -1,6 +1,8 @@
|
|||
import { isIp } from "../util.js";
|
||||
import { RpcMethodList } from "./index.js";
|
||||
import { createRequire } from "module";
|
||||
|
||||
const require = createRequire(import.meta.url);
|
||||
const bns = require("bns");
|
||||
const { StubResolver, RecursiveResolver } = bns;
|
||||
|
||||
|
|
Loading…
Reference in New Issue