CoolFace
Apppublic

strong-tie/inbound-calls

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
index.js15 linesDownload Raw Back to src
1/* eslint-disable no-new-func, camelcase */2/* globals __non_webpack__require__ */3 4const realImport = new Function('modulePath', 'return import(modulePath)')5 6function realRequire(modulePath) {7  if (typeof __non_webpack__require__ === 'function') {8    return __non_webpack__require__(modulePath)9  }10 11  return require(modulePath)12}13 14module.exports = { realImport, realRequire }15