Networks config json does not get included in build output
mi-xu opened this issue · comments
Received an error when attempting to resolve an ethr-did with a network id specified:
const doc = await resolver.resolve('did:ethr:rinkeby:0xf1232f840f3ad7d23fcdaa84d6c66dac24efb198')
Cannot find module './networks.json' from 'ethr-did-resolver.js'
200 | const networks = {
201 | mainnet: configureNetwork(conf),
> 202 | ...configureNetworks(require('./networks.json')),
| ^
203 | ...configureNetworks(conf.networks)
204 | }
205 |