1 | const Module = require("module");
|
2 |
|
3 | const globalModuleCache = Module._cache;
|
4 | const internalModuleCache = Object.create(null);
|
5 | Module._cache = internalModuleCache;
|
6 |
|
7 | const node = require("./node");
|
8 |
|
9 | Module._cache = globalModuleCache;
|
10 |
|
11 | const smsPath = require.resolve("source-map-support");
|
12 |
|
13 | globalModuleCache[smsPath] = internalModuleCache[smsPath];
|
14 | const register = node.default;
|
15 | register();
|
16 | module.exports = node; |
\ | No newline at end of file |