Skip to content

Commit

Permalink
Add json extension to networks import
Browse files Browse the repository at this point in the history
as workaround for TypeScript compilers since they can't resolve JSON files without an extension
  • Loading branch information
GladOSkar authored May 16, 2021
1 parent daedb01 commit e013385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const networks = require("./networks")
const networks = require("./networks.json")

class Network {
constructor(name, version = "v1") {
Expand Down

0 comments on commit e013385

Please sign in to comment.