diff --git a/lib/bcoin.js b/lib/bcoin.js index 30301a25..b5e2a018 100644 --- a/lib/bcoin.js +++ b/lib/bcoin.js @@ -30,6 +30,7 @@ const bcoin = exports; bcoin.define = function define(name, path) { let cache = null; Object.defineProperty(bcoin, name, { + enumerable: true, get() { if (!cache) cache = require(path);