From e013385dd75700e1b12841b9dc0171e14233630f Mon Sep 17 00:00:00 2001 From: Oskar Date: Sun, 16 May 2021 19:53:09 +0200 Subject: [PATCH] Add `json` extension to networks import as workaround for TypeScript compilers since they can't resolve JSON files without an extension --- network/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/index.js b/network/index.js index 15fa779..bdba77e 100644 --- a/network/index.js +++ b/network/index.js @@ -1,4 +1,4 @@ -const networks = require("./networks") +const networks = require("./networks.json") class Network { constructor(name, version = "v1") {