%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/rezakur1/nodevenv/api.rezakurnia.com/zh-router/22/lib/node_modules/real-require/src/
Upload File :
Create Path :
Current File : /home2/rezakur1/nodevenv/api.rezakurnia.com/zh-router/22/lib/node_modules/real-require/src/index.js

/* eslint-disable no-new-func */
/* globals __non_webpack__require__ */

const realImport = new Function('modulePath', 'return import(modulePath)')

function realRequire (modulePath) {
  if (typeof __non_webpack__require__ === 'function') {
    return __non_webpack__require__(modulePath)
  }

  return require(modulePath)
}

module.exports = { realImport, realRequire }

Zerion Mini Shell 1.0