"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.importLazy = importLazy;
var _importLazy = _interopRequireDefault(require("../compiled/import-lazy"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
 * ref:
 * 1. https://rushstack.io/pages/api/node-core-library.import.lazy/
 * 2. https://github.com/microsoft/rushstack/blob/90301e9/libraries/node-core-library/src/Import.ts#L175
 */

function importLazy(moduleName, requireFn) {
  const importLazyLocal = (0, _importLazy.default)(requireFn || require);
  return importLazyLocal(moduleName);
}