nodeWrapper.js 452 B

12345678910111213
  1. const Module = require("module");
  2. const globalModuleCache = Module._cache;
  3. const internalModuleCache = Object.create(null);
  4. Module._cache = internalModuleCache;
  5. const node = require("./node.js");
  6. Module._cache = globalModuleCache;
  7. const smsPath = require.resolve("source-map-support");
  8. globalModuleCache[smsPath] = internalModuleCache[smsPath];
  9. const register = node.default;
  10. register();
  11. module.exports = node;
  12. //# sourceMappingURL=nodeWrapper.js.map