PHP 8.2.30
Preview: lazy-modules.js Size: 1005 B
/home/byroehnu/easepay.easetack.com/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.toGetWrapperPayload = toGetWrapperPayload;
exports.wrapReference = wrapReference;
var _core = require("@babel/core");
var _normalizeAndLoadMetadata = require("./normalize-and-load-metadata.js");
function toGetWrapperPayload(lazy) {
  return (source, metadata) => {
    if (lazy === false) return null;
    if ((0, _normalizeAndLoadMetadata.isSideEffectImport)(metadata) || metadata.reexportAll) return null;
    if (lazy === true) {
      return source.includes(".") ? null : "lazy";
    }
    if (Array.isArray(lazy)) {
      return !lazy.includes(source) ? null : "lazy";
    }
    if (typeof lazy === "function") {
      return lazy(source) ? "lazy" : null;
    }
    throw new Error(`.lazy must be a boolean, string array, or function`);
  };
}
function wrapReference(ref, payload) {
  if (payload === "lazy") return _core.types.callExpression(ref, []);
  return null;
}

//# sourceMappingURL=lazy-modules.js.map

Directory Contents

Dirs: 0 × Files: 15

Name Size Perms Modified Actions
127 B lr--r--r-- 2026-03-14 01:49:07
Edit Download
1.71 KB lrw-r--r-- 2026-02-28 00:26:54
Edit Download
3.91 KB lrw-r--r-- 2026-02-28 00:27:06
Edit Download
1.67 KB lrw-r--r-- 2026-02-28 00:27:14
Edit Download
3.81 KB lrw-r--r-- 2026-02-28 00:27:26
Edit Download
13.17 KB lrw-r--r-- 2026-02-28 00:27:34
Edit Download
31.27 KB lrw-r--r-- 2026-02-28 00:27:44
Edit Download
1005 B lrw-r--r-- 2026-02-28 00:27:58
Edit Download
2.32 KB lrw-r--r-- 2026-02-28 00:28:00
Edit Download
12.94 KB lrw-r--r-- 2026-02-28 00:28:06
Edit Download
34.12 KB lrw-r--r-- 2026-02-28 00:28:12
Edit Download
13.28 KB lrw-r--r-- 2026-02-28 00:28:18
Edit Download
34.31 KB lrw-r--r-- 2026-02-28 00:28:24
Edit Download
641 B lrw-r--r-- 2026-02-28 00:28:26
Edit Download
1.50 KB lrw-r--r-- 2026-02-28 00:28:26
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).