mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 22:33:17 +00:00
11 lines
263 B
JavaScript
11 lines
263 B
JavaScript
|
import getIterator from 'es-get-iterator';
|
||
|
import Module from 'module';
|
||
|
|
||
|
const require = Module.createRequire(import.meta.url);
|
||
|
const id = require.resolve('../node');
|
||
|
const mod = new Module(id);
|
||
|
mod.exports = getIterator;
|
||
|
require.cache[id] = mod;
|
||
|
|
||
|
require('./');
|