@farm.js/core 0.2.0-beta.0 → 0.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analyzer-IIWSUXSQ.cjs +17 -0
- package/dist/{analyzer-PWHYGER6.mjs → analyzer-RYSF2BM3.mjs} +2 -2
- package/dist/api/route-manager.cjs +3 -3
- package/dist/api/route-manager.mjs +2 -2
- package/dist/api.cjs +4 -4
- package/dist/api.mjs +3 -3
- package/dist/{app.d-b3A4cca5.d.ts → app.d-CoY-zsJt.d.ts} +1 -1
- package/dist/{app.d-AVZXCfcO.d.mts → app.d-DE5KNbmf.d.mts} +1 -1
- package/dist/{chunk-W3ZBLFLU.mjs → chunk-23BZ7ZH6.mjs} +1 -1
- package/dist/{chunk-FEWCWBOF.cjs → chunk-27ESPHQA.cjs} +4 -4
- package/dist/{chunk-WPB6HJC7.mjs → chunk-2U2GRXP5.mjs} +1 -1
- package/dist/{chunk-L6ZL35ZJ.mjs → chunk-4A6A6P4T.mjs} +2 -2
- package/dist/{chunk-JGUMFTZT.cjs → chunk-6BMAGVDI.cjs} +4 -4
- package/dist/{chunk-CFLRUCN7.cjs → chunk-6ETHVRFO.cjs} +135 -135
- package/dist/{chunk-MZPPT5NA.mjs → chunk-AMMFRXFW.mjs} +1 -1
- package/dist/{chunk-GV5D5EM6.mjs → chunk-ANKMAGFJ.mjs} +1 -1
- package/dist/{chunk-SCOKBXHS.mjs → chunk-CIQCJ72N.mjs} +13 -13
- package/dist/{chunk-ZOD6EYWE.mjs → chunk-CPMK7EFR.mjs} +1 -1
- package/dist/{chunk-MM4U2NNI.mjs → chunk-DZC2XGK4.mjs} +24 -18
- package/dist/{chunk-XJJQAFZX.mjs → chunk-EBKYRP2P.mjs} +1 -1
- package/dist/{chunk-CNGGEHXY.cjs → chunk-FJGA3XWL.cjs} +2 -2
- package/dist/{chunk-PTAGDZ7I.mjs → chunk-GTHBWZUK.mjs} +5 -1
- package/dist/{chunk-SG5RFGV6.cjs → chunk-HENPVGZC.cjs} +2 -2
- package/dist/{chunk-MRULVIH3.mjs → chunk-ISSFWEPY.mjs} +1 -1
- package/dist/{chunk-PQ6DBVJ2.cjs → chunk-KBIM7PFQ.cjs} +73 -67
- package/dist/{chunk-ERV422FO.cjs → chunk-KRU3XPOW.cjs} +2 -2
- package/dist/{chunk-TQFIZRON.cjs → chunk-L4B7PB3H.cjs} +126 -126
- package/dist/{chunk-VMGQOP7X.cjs → chunk-M3JYBZO2.cjs} +2 -2
- package/dist/{chunk-SUACCCZG.cjs → chunk-N2ZMSSPP.cjs} +11 -11
- package/dist/{chunk-7LBNWL3L.cjs → chunk-ND65INFS.cjs} +2 -2
- package/dist/{chunk-WOTAU3BN.mjs → chunk-NVXU5BEG.mjs} +47 -28
- package/dist/{chunk-HU4R2PPW.cjs → chunk-NZRAUCUL.cjs} +2 -2
- package/dist/{chunk-PA3VZNWU.cjs → chunk-OIPPISQ6.cjs} +81 -62
- package/dist/{chunk-H47EH24T.mjs → chunk-OQOII62L.mjs} +1 -1
- package/dist/{chunk-LUGQUU4S.mjs → chunk-PKV3JGMS.mjs} +1 -1
- package/dist/{chunk-BQHIJOZM.cjs → chunk-SIECKBNK.cjs} +6 -2
- package/dist/{chunk-JDO3X7RB.mjs → chunk-SPKZCFPH.mjs} +1 -1
- package/dist/{chunk-3MY6TNNE.cjs → chunk-TWFJJPE7.cjs} +3 -3
- package/dist/{chunk-6266WH6X.cjs → chunk-V3Y3R3JJ.cjs} +1 -1
- package/dist/{chunk-YCHIR3X6.mjs → chunk-VZWAXQME.mjs} +1 -1
- package/dist/{chunk-5ZWXTIGE.cjs → chunk-WEZTGM7N.cjs} +2 -2
- package/dist/{chunk-BJHXFEAF.mjs → chunk-YPAOC3FO.mjs} +2 -2
- package/dist/{chunk-M4CNAZMS.mjs → chunk-Z7ZRBCAB.mjs} +11 -11
- package/dist/{chunk-XRYLMTYF.cjs → chunk-ZPQY7O64.cjs} +3 -3
- package/dist/{devtools-2CRVXV7E.mjs → devtools-5DBTT2DI.mjs} +1 -1
- package/dist/{devtools-RL4AU5KD.cjs → devtools-JTJA2KIZ.cjs} +2 -2
- package/dist/docs.cjs +3 -3
- package/dist/docs.mjs +2 -2
- package/dist/environment/vite.cjs +3 -3
- package/dist/environment/vite.mjs +2 -2
- package/dist/index.cjs +22 -22
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +17 -17
- package/dist/internal/build-runtime.cjs +17 -17
- package/dist/internal/build-runtime.mjs +16 -16
- package/dist/internal/cli-runtime.cjs +5 -5
- package/dist/internal/cli-runtime.mjs +4 -4
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/config-runtime.cjs +3 -3
- package/dist/internal/config-runtime.mjs +2 -2
- package/dist/internal/infra-analytics-runtime.cjs +6 -6
- package/dist/internal/infra-analytics-runtime.mjs +4 -4
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +4 -4
- package/dist/internal/production-runtime.mjs +3 -3
- package/dist/{manager-D4DZRBRS.cjs → manager-37UJPUN4.cjs} +4 -4
- package/dist/{manager-PKPQGBAE.mjs → manager-7BNSJKME.mjs} +3 -3
- package/dist/plugin.cjs +12 -12
- package/dist/plugin.mjs +11 -11
- package/dist/{rsc-pipeline-3DYC5ZXW.cjs → rsc-pipeline-LGXJGGMW.cjs} +3 -3
- package/dist/{rsc-pipeline-LRB4ZG6I.mjs → rsc-pipeline-W5DSWDHD.mjs} +2 -2
- package/dist/{runtime-3WJNNAAR.mjs → runtime-UOZKSM5S.mjs} +2 -2
- package/dist/{runtime-CRFF32H6.cjs → runtime-YV4X5FAK.cjs} +4 -4
- package/dist/server.cjs +36 -35
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.mjs +16 -15
- package/dist/testing.cjs +2 -2
- package/dist/testing.mjs +2 -2
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +12 -12
- package/dist/vite.mjs +11 -11
- package/package.json +1 -1
- package/dist/analyzer-B2TRJT3B.cjs +0 -17
- /package/dist/{chunk-IRPXOTEN.cjs → chunk-FLKG2PYH.cjs} +0 -0
- /package/dist/{chunk-BGEA4K7C.mjs → chunk-OOOUYA6L.mjs} +0 -0
|
@@ -9,7 +9,7 @@ var _chunkAQLHD6HZcjs = require('./chunk-AQLHD6HZ.cjs');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkKRU3XPOWcjs = require('./chunk-KRU3XPOW.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkZSVFI7JMcjs = require('./chunk-ZSVFI7JM.cjs');
|
|
@@ -59,7 +59,7 @@ var _chunkVS7HLH4Scjs = require('./chunk-VS7HLH4S.cjs');
|
|
|
59
59
|
var _chunk4ZVKDHS6cjs = require('./chunk-4ZVKDHS6.cjs');
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
var
|
|
62
|
+
var _chunk6BMAGVDIcjs = require('./chunk-6BMAGVDI.cjs');
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
@@ -104,7 +104,7 @@ var _chunkWOAXQ5MZcjs = require('./chunk-WOAXQ5MZ.cjs');
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
var
|
|
107
|
+
var _chunkOIPPISQ6cjs = require('./chunk-OIPPISQ6.cjs');
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
|
|
@@ -304,7 +304,7 @@ var _chunkSUCDVKUBcjs = require('./chunk-SUCDVKUB.cjs');
|
|
|
304
304
|
var _chunkPLJMEUANcjs = require('./chunk-PLJMEUAN.cjs');
|
|
305
305
|
|
|
306
306
|
|
|
307
|
-
var
|
|
307
|
+
var _chunkV3Y3R3JJcjs = require('./chunk-V3Y3R3JJ.cjs');
|
|
308
308
|
|
|
309
309
|
|
|
310
310
|
var _chunkPMJSG4JScjs = require('./chunk-PMJSG4JS.cjs');
|
|
@@ -508,7 +508,7 @@ var RouteManager = class _RouteManager {
|
|
|
508
508
|
this.redirects = /* @__PURE__ */ new Map();
|
|
509
509
|
this.programmaticPages = /* @__PURE__ */ new Map();
|
|
510
510
|
this.programmaticLayouts = /* @__PURE__ */ new Map();
|
|
511
|
-
this.programmaticClientRoutes =
|
|
511
|
+
this.programmaticClientRoutes = _chunkOIPPISQ6cjs.mergeProgrammaticClientRoutes.call(void 0, []);
|
|
512
512
|
// The hydration settings each route rule returned, by file.
|
|
513
513
|
this.rendererRouteHydration = /* @__PURE__ */ new Map();
|
|
514
514
|
this.disposeRendererHydration = () => {
|
|
@@ -527,7 +527,8 @@ var RouteManager = class _RouteManager {
|
|
|
527
527
|
// read, so a production build can tell whether a route module's plan still holds.
|
|
528
528
|
this.planStamps = /* @__PURE__ */ new Map();
|
|
529
529
|
this.sourceChangeTracking = false;
|
|
530
|
-
|
|
530
|
+
// planSourcePath of each file a plan read.
|
|
531
|
+
this.planSources = /* @__PURE__ */ new Map();
|
|
531
532
|
// Whether each package directory under `node_modules` a plan read from links to a workspace.
|
|
532
533
|
this.linkedPackages = /* @__PURE__ */ new Map();
|
|
533
534
|
// Source files edited since the last plan; null when the next plan must recompute every module.
|
|
@@ -597,7 +598,7 @@ var RouteManager = class _RouteManager {
|
|
|
597
598
|
});
|
|
598
599
|
}
|
|
599
600
|
}
|
|
600
|
-
this.disposeRendererHydration =
|
|
601
|
+
this.disposeRendererHydration = _chunkOIPPISQ6cjs.setFarmRendererHydrationScope.call(void 0,
|
|
601
602
|
_chunk52Q4OB4Acjs.getFarmSourceRoots.call(void 0, this.config).map((source) => source.root),
|
|
602
603
|
renderer,
|
|
603
604
|
routeModules
|
|
@@ -633,7 +634,7 @@ var RouteManager = class _RouteManager {
|
|
|
633
634
|
await this.discoverFileRoutes(source);
|
|
634
635
|
await this.discoverProgrammaticRoutes(source, programmaticClientRoutes);
|
|
635
636
|
}
|
|
636
|
-
this.programmaticClientRoutes =
|
|
637
|
+
this.programmaticClientRoutes = _chunkOIPPISQ6cjs.mergeProgrammaticClientRoutes.call(void 0, programmaticClientRoutes);
|
|
637
638
|
for (const slot of this.routeSlots.values()) {
|
|
638
639
|
if (slot.interception && !this.pageRouteShapes.has(_chunkML4TOUZPcjs.getRoutePatternShape.call(void 0, slot.pattern))) {
|
|
639
640
|
throw new (0, _chunkML4TOUZPcjs.AmbiguousRouteError)(
|
|
@@ -926,11 +927,11 @@ var RouteManager = class _RouteManager {
|
|
|
926
927
|
return this.clientManifestCache.manifest;
|
|
927
928
|
}
|
|
928
929
|
const cacheFile = this.packageClientBoundaryCacheFile;
|
|
929
|
-
const compute = () =>
|
|
930
|
+
const compute = () => _chunkOIPPISQ6cjs.withFarmSourceSnapshot.call(void 0,
|
|
930
931
|
() => this.computeClientManifest(normalizedProjectRoot),
|
|
931
932
|
this.sourceSnapshot
|
|
932
933
|
);
|
|
933
|
-
return cacheFile ?
|
|
934
|
+
return cacheFile ? _chunkOIPPISQ6cjs.runWithPackageClientBoundaryCacheFile.call(void 0, cacheFile, compute) : compute();
|
|
934
935
|
}
|
|
935
936
|
/**
|
|
936
937
|
* @internal The dev server reports every watched change (`noteSourceChange`), so a replan can
|
|
@@ -939,7 +940,7 @@ var RouteManager = class _RouteManager {
|
|
|
939
940
|
*/
|
|
940
941
|
trackSourceChanges() {
|
|
941
942
|
this.sourceChangeTracking = true;
|
|
942
|
-
_nullishCoalesce(this.sourceSnapshot, () => ( (this.sourceSnapshot = new (0,
|
|
943
|
+
_nullishCoalesce(this.sourceSnapshot, () => ( (this.sourceSnapshot = new (0, _chunkOIPPISQ6cjs.FarmSourceSnapshotStore)())));
|
|
943
944
|
}
|
|
944
945
|
/**
|
|
945
946
|
* @internal A production build edits no source while it runs, so what the plan reads, parses and
|
|
@@ -948,7 +949,7 @@ var RouteManager = class _RouteManager {
|
|
|
948
949
|
*/
|
|
949
950
|
keepBuildSourceSnapshot() {
|
|
950
951
|
if (this.sourceChangeTracking) return;
|
|
951
|
-
_nullishCoalesce(this.sourceSnapshot, () => ( (this.sourceSnapshot = new (0,
|
|
952
|
+
_nullishCoalesce(this.sourceSnapshot, () => ( (this.sourceSnapshot = new (0, _chunkOIPPISQ6cjs.FarmSourceSnapshotStore)(false))));
|
|
952
953
|
}
|
|
953
954
|
/**
|
|
954
955
|
* @internal Hands the snapshot keepBuildSourceSnapshot kept to the build, which clears it once
|
|
@@ -978,7 +979,7 @@ var RouteManager = class _RouteManager {
|
|
|
978
979
|
}
|
|
979
980
|
this.editedSources = null;
|
|
980
981
|
_optionalChain([this, 'access', _15 => _15.sourceSnapshot, 'optionalAccess', _16 => _16.clear, 'call', _17 => _17()]);
|
|
981
|
-
this.
|
|
982
|
+
this.planSources.clear();
|
|
982
983
|
this.linkedPackages.clear();
|
|
983
984
|
}
|
|
984
985
|
/**
|
|
@@ -991,7 +992,7 @@ var RouteManager = class _RouteManager {
|
|
|
991
992
|
return false;
|
|
992
993
|
}
|
|
993
994
|
const previous = _optionalChain([this, 'access', _18 => _18.sourceSnapshot, 'optionalAccess', _19 => _19.peekSource, 'call', _20 => _20(path4.default.resolve(file))]);
|
|
994
|
-
return previous !== void 0 &&
|
|
995
|
+
return previous !== void 0 && _chunkOIPPISQ6cjs.isFarmClientModulePlanUnchanged.call(void 0, file, previous);
|
|
995
996
|
}
|
|
996
997
|
/**
|
|
997
998
|
* A route module's plan: the last one when it read none of `edited`, recomputed otherwise.
|
|
@@ -1002,7 +1003,7 @@ var RouteManager = class _RouteManager {
|
|
|
1002
1003
|
if (previous && edited && ![...edited].some((file) => previous.files.has(file))) {
|
|
1003
1004
|
return { ...previous.plan };
|
|
1004
1005
|
}
|
|
1005
|
-
const { result, files } =
|
|
1006
|
+
const { result, files } = _chunkOIPPISQ6cjs.traceFarmSourceReads.call(void 0, compute);
|
|
1006
1007
|
const sources = /* @__PURE__ */ new Set();
|
|
1007
1008
|
for (const file of files) {
|
|
1008
1009
|
const source = this.planSourcePath(file);
|
|
@@ -1010,7 +1011,7 @@ var RouteManager = class _RouteManager {
|
|
|
1010
1011
|
}
|
|
1011
1012
|
if (!this.sourceChangeTracking) {
|
|
1012
1013
|
for (const source of sources) {
|
|
1013
|
-
if (!this.planStamps.has(source)) this.planStamps.set(source,
|
|
1014
|
+
if (!this.planStamps.has(source)) this.planStamps.set(source, _chunkOIPPISQ6cjs.getFarmSourceStamp.call(void 0, source));
|
|
1014
1015
|
}
|
|
1015
1016
|
}
|
|
1016
1017
|
this.ownerPlans.set(key, { plan: result, files: sources, planKey });
|
|
@@ -1030,7 +1031,7 @@ var RouteManager = class _RouteManager {
|
|
|
1030
1031
|
const isUnchanged = (file) => {
|
|
1031
1032
|
let result = unchanged.get(file);
|
|
1032
1033
|
if (result === void 0) {
|
|
1033
|
-
result = this.planStamps.get(file) ===
|
|
1034
|
+
result = this.planStamps.get(file) === _chunkOIPPISQ6cjs.getFarmSourceStamp.call(void 0, file);
|
|
1034
1035
|
unchanged.set(file, result);
|
|
1035
1036
|
}
|
|
1036
1037
|
return result;
|
|
@@ -1047,20 +1048,20 @@ var RouteManager = class _RouteManager {
|
|
|
1047
1048
|
* installed package; a plan reads thousands of files of an icon package.
|
|
1048
1049
|
*/
|
|
1049
1050
|
planSourcePath(file) {
|
|
1051
|
+
let source = this.planSources.get(file);
|
|
1052
|
+
if (source !== void 0) return source;
|
|
1053
|
+
source = file;
|
|
1050
1054
|
const index = file.lastIndexOf(NODE_MODULES_SEGMENT);
|
|
1051
|
-
if (index
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
let source = this.linkedSources.get(file);
|
|
1060
|
-
if (source === void 0) {
|
|
1061
|
-
source = realPathOutsideNodeModules(file);
|
|
1062
|
-
this.linkedSources.set(file, source);
|
|
1055
|
+
if (index !== -1) {
|
|
1056
|
+
const directory = getInstalledPackageDirectory(file, index + NODE_MODULES_SEGMENT.length);
|
|
1057
|
+
let linked = this.linkedPackages.get(directory);
|
|
1058
|
+
if (linked === void 0) {
|
|
1059
|
+
linked = realPathOutsideNodeModules(directory) !== null;
|
|
1060
|
+
this.linkedPackages.set(directory, linked);
|
|
1061
|
+
}
|
|
1062
|
+
source = linked ? realPathOutsideNodeModules(file) : null;
|
|
1063
1063
|
}
|
|
1064
|
+
this.planSources.set(file, source);
|
|
1064
1065
|
return source;
|
|
1065
1066
|
}
|
|
1066
1067
|
/**
|
|
@@ -1077,7 +1078,7 @@ var RouteManager = class _RouteManager {
|
|
|
1077
1078
|
*/
|
|
1078
1079
|
inspectPackages(operation) {
|
|
1079
1080
|
const file = this.packageClientBoundaryCacheFile;
|
|
1080
|
-
return file ?
|
|
1081
|
+
return file ? _chunkOIPPISQ6cjs.runWithLatestPackageClientBoundaryCache.call(void 0, file, operation) : operation();
|
|
1081
1082
|
}
|
|
1082
1083
|
computeClientManifest(normalizedProjectRoot) {
|
|
1083
1084
|
const toUrlPath = (absolutePath) => {
|
|
@@ -1100,14 +1101,14 @@ var RouteManager = class _RouteManager {
|
|
|
1100
1101
|
`[Farm.js] isolated hydration kept route-wide because integration provider "${unsupportedIntegrationProvider.name}" does not declare supportsIsolatedHydration: true.`
|
|
1101
1102
|
);
|
|
1102
1103
|
}
|
|
1103
|
-
const isolatedMode =
|
|
1104
|
+
const isolatedMode = _chunkOIPPISQ6cjs.resolveFarmIsolatedClientHydrationMode.call(void 0,
|
|
1104
1105
|
_optionalChain([this, 'access', _27 => _27.config, 'access', _28 => _28.experimental, 'optionalAccess', _29 => _29.isolatedClientHydration]),
|
|
1105
1106
|
{
|
|
1106
1107
|
serverComponents: _chunkT7UC2ORAcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([this, 'access', _30 => _30.config, 'access', _31 => _31.experimental, 'optionalAccess', _32 => _32.serverComponents])) === "rsc",
|
|
1107
1108
|
hasUnsupportedIntegrationProvider: Boolean(unsupportedIntegrationProvider)
|
|
1108
1109
|
}
|
|
1109
1110
|
);
|
|
1110
|
-
const planOptions =
|
|
1111
|
+
const planOptions = _chunkOIPPISQ6cjs.getFarmClientHydrationPlanOptions.call(void 0,
|
|
1111
1112
|
this.config.renderer,
|
|
1112
1113
|
Boolean(unsupportedIntegrationProvider)
|
|
1113
1114
|
);
|
|
@@ -1117,7 +1118,7 @@ var RouteManager = class _RouteManager {
|
|
|
1117
1118
|
if (this.sourceChangeTracking && this.editedSources && this.ownerPlans.size > 0) {
|
|
1118
1119
|
edited = /* @__PURE__ */ new Set();
|
|
1119
1120
|
for (const [file, previous] of _nullishCoalesce(changed, () => ( []))) {
|
|
1120
|
-
if (
|
|
1121
|
+
if (_chunkOIPPISQ6cjs.isFarmClientModulePlanUnchanged.call(void 0, file, previous)) continue;
|
|
1121
1122
|
const source = this.planSourcePath(file);
|
|
1122
1123
|
if (source) edited.add(source);
|
|
1123
1124
|
}
|
|
@@ -1132,13 +1133,13 @@ var RouteManager = class _RouteManager {
|
|
|
1132
1133
|
metadata: this.planRouteModule(
|
|
1133
1134
|
`layout:${entry.modulePath}`,
|
|
1134
1135
|
edited,
|
|
1135
|
-
() =>
|
|
1136
|
+
() => _chunkOIPPISQ6cjs.getClientModuleHydrationPlan.call(void 0,
|
|
1136
1137
|
entry.modulePath,
|
|
1137
1138
|
normalizedProjectRoot,
|
|
1138
1139
|
isolatedMode,
|
|
1139
1140
|
layoutPlanOptions
|
|
1140
1141
|
),
|
|
1141
|
-
|
|
1142
|
+
_chunkOIPPISQ6cjs.getClientModuleHydrationPlanKey.call(void 0,
|
|
1142
1143
|
entry.modulePath,
|
|
1143
1144
|
normalizedProjectRoot,
|
|
1144
1145
|
isolatedMode,
|
|
@@ -1146,7 +1147,7 @@ var RouteManager = class _RouteManager {
|
|
|
1146
1147
|
)
|
|
1147
1148
|
)
|
|
1148
1149
|
}));
|
|
1149
|
-
const markdownComponentsPlan =
|
|
1150
|
+
const markdownComponentsPlan = _chunkOIPPISQ6cjs.createMarkdownPageHydrationPlanner.call(void 0,
|
|
1150
1151
|
_chunk2HW5LWAHcjs.resolveFarmMdxComponentsModulePath.call(void 0, _chunk2HW5LWAHcjs.resolveMdxConfig.call(void 0, this.config.mdx), normalizedProjectRoot),
|
|
1151
1152
|
normalizedProjectRoot,
|
|
1152
1153
|
isolatedMode,
|
|
@@ -1162,13 +1163,13 @@ var RouteManager = class _RouteManager {
|
|
|
1162
1163
|
metadata: _chunk26WP75W5cjs.isFarmMarkdownPageFile.call(void 0, entry.modulePath) ? markdownPagePlan() : this.planRouteModule(
|
|
1163
1164
|
`page:${entry.modulePath}`,
|
|
1164
1165
|
edited,
|
|
1165
|
-
() =>
|
|
1166
|
+
() => _chunkOIPPISQ6cjs.getClientModuleHydrationPlan.call(void 0,
|
|
1166
1167
|
entry.modulePath,
|
|
1167
1168
|
normalizedProjectRoot,
|
|
1168
1169
|
isolatedMode,
|
|
1169
1170
|
pagePlanOptions
|
|
1170
1171
|
),
|
|
1171
|
-
|
|
1172
|
+
_chunkOIPPISQ6cjs.getClientModuleHydrationPlanKey.call(void 0,
|
|
1172
1173
|
entry.modulePath,
|
|
1173
1174
|
normalizedProjectRoot,
|
|
1174
1175
|
isolatedMode,
|
|
@@ -1198,7 +1199,7 @@ var RouteManager = class _RouteManager {
|
|
|
1198
1199
|
`[Farm.js] ${entry.pattern} renders client components from ${metadata.staticPackageBoundaries.join(", ")} as static HTML: package client components cannot be isolated yet.`
|
|
1199
1200
|
);
|
|
1200
1201
|
}
|
|
1201
|
-
|
|
1202
|
+
_chunkOIPPISQ6cjs.enforceFarmIsolatedHydrationRouteBudget.call(void 0,
|
|
1202
1203
|
layoutEntries.map(({ entry, metadata }) => ({
|
|
1203
1204
|
pattern: entry.pattern,
|
|
1204
1205
|
depth: _chunk4ZVKDHS6cjs.getRouteDirectoryDepth.call(void 0, entry.pattern),
|
|
@@ -1245,7 +1246,7 @@ var RouteManager = class _RouteManager {
|
|
|
1245
1246
|
modulePath: toUrlPath(boundary.modulePath)
|
|
1246
1247
|
}))
|
|
1247
1248
|
} : {},
|
|
1248
|
-
...
|
|
1249
|
+
..._chunkOIPPISQ6cjs.usesFarmServerTree.call(void 0, metadata) ? { serverTree: true } : {},
|
|
1249
1250
|
renderPlan: _chunk4ZVKDHS6cjs.createFarmRouteRenderPlan.call(void 0, {
|
|
1250
1251
|
pageShouldHydrate: metadata.shouldHydrate,
|
|
1251
1252
|
layoutShouldHydrate,
|
|
@@ -1287,7 +1288,7 @@ var RouteManager = class _RouteManager {
|
|
|
1287
1288
|
...metadata.suppressedAsyncHydration && metadata.fallbackReason ? { suppressedAsyncHydrationReason: metadata.fallbackReason } : {}
|
|
1288
1289
|
}));
|
|
1289
1290
|
const slots = Array.from(this.routeSlots.values()).map((entry) => {
|
|
1290
|
-
const metadata =
|
|
1291
|
+
const metadata = _chunkOIPPISQ6cjs.getClientModuleMetadata.call(void 0, entry.modulePath, normalizedProjectRoot);
|
|
1291
1292
|
return {
|
|
1292
1293
|
name: entry.name,
|
|
1293
1294
|
ownerPattern: entry.ownerPattern,
|
|
@@ -1303,7 +1304,7 @@ var RouteManager = class _RouteManager {
|
|
|
1303
1304
|
};
|
|
1304
1305
|
});
|
|
1305
1306
|
const slotPlans = islandsMode ? Array.from(this.routeSlots.values()).map((entry) => ({
|
|
1306
|
-
metadata:
|
|
1307
|
+
metadata: _chunkOIPPISQ6cjs.getClientModuleHydrationPlan.call(void 0,
|
|
1307
1308
|
entry.modulePath,
|
|
1308
1309
|
normalizedProjectRoot,
|
|
1309
1310
|
isolatedMode,
|
|
@@ -1678,11 +1679,11 @@ var RouteManager = class _RouteManager {
|
|
|
1678
1679
|
srcDir: source.srcDir,
|
|
1679
1680
|
loadModule: (filePath) => this.loadProgrammaticRoutesModule(filePath)
|
|
1680
1681
|
});
|
|
1681
|
-
const graph = this.viteServer ?
|
|
1682
|
+
const graph = this.viteServer ? _chunkOIPPISQ6cjs.createEvaluatedRouteGraph.call(void 0, this.viteServer) : void 0;
|
|
1682
1683
|
for (const { filePath, manifest } of manifests) {
|
|
1683
1684
|
if (graph) {
|
|
1684
1685
|
clientRoutes.push(
|
|
1685
|
-
|
|
1686
|
+
_chunkOIPPISQ6cjs.resolveProgrammaticClientRoutes.call(void 0, {
|
|
1686
1687
|
graph,
|
|
1687
1688
|
routesFile: toRealPath(filePath),
|
|
1688
1689
|
routes: manifest.routes,
|
|
@@ -1896,7 +1897,7 @@ var RouteManager = class _RouteManager {
|
|
|
1896
1897
|
}));
|
|
1897
1898
|
const i18n = this.getI18nConfig();
|
|
1898
1899
|
const docsAdapterRoutes = this.getDocsAdapterRoutes();
|
|
1899
|
-
const result = await
|
|
1900
|
+
const result = await _chunkKRU3XPOWcjs.collectSSGPages.call(void 0, routes, (filePath) => this.loadRouteModule(filePath), {
|
|
1900
1901
|
suggestStaticRendering: shouldSuggestStaticRenderingForI18n(i18n),
|
|
1901
1902
|
...docsAdapterRoutes ? { docsAdapterRoutes } : {}
|
|
1902
1903
|
});
|
|
@@ -1943,7 +1944,7 @@ var RouteManager = class _RouteManager {
|
|
|
1943
1944
|
async isRouteSSG(modulePath) {
|
|
1944
1945
|
try {
|
|
1945
1946
|
const mod = await this.loadRouteModule(modulePath);
|
|
1946
|
-
const rendering = await
|
|
1947
|
+
const rendering = await _chunkKRU3XPOWcjs.resolveRouteRenderingConfigFromFile.call(void 0, mod, modulePath);
|
|
1947
1948
|
return rendering.ssg;
|
|
1948
1949
|
} catch (e2) {
|
|
1949
1950
|
return false;
|
|
@@ -1955,7 +1956,7 @@ var RouteManager = class _RouteManager {
|
|
|
1955
1956
|
async hasRouteISR(modulePath) {
|
|
1956
1957
|
try {
|
|
1957
1958
|
const mod = await this.loadRouteModule(modulePath);
|
|
1958
|
-
const rendering = await
|
|
1959
|
+
const rendering = await _chunkKRU3XPOWcjs.resolveRouteRenderingConfigFromFile.call(void 0, mod, modulePath);
|
|
1959
1960
|
return rendering.ssg && typeof rendering.revalidate === "number" && rendering.revalidate > 0;
|
|
1960
1961
|
} catch (e3) {
|
|
1961
1962
|
return false;
|
|
@@ -1967,7 +1968,7 @@ var RouteManager = class _RouteManager {
|
|
|
1967
1968
|
async getRouteRevalidateInterval(modulePath) {
|
|
1968
1969
|
try {
|
|
1969
1970
|
const mod = await this.loadRouteModule(modulePath);
|
|
1970
|
-
const rendering = await
|
|
1971
|
+
const rendering = await _chunkKRU3XPOWcjs.resolveRouteRenderingConfigFromFile.call(void 0, mod, modulePath);
|
|
1971
1972
|
return rendering.revalidate;
|
|
1972
1973
|
} catch (e4) {
|
|
1973
1974
|
return void 0;
|
|
@@ -3393,7 +3394,7 @@ function inferFarmIslandStrategy(filePath, root) {
|
|
|
3393
3394
|
const result = _compiler.inferStrategy.call(void 0, file, code, {
|
|
3394
3395
|
parse: parseFarmIslandSource,
|
|
3395
3396
|
resolve: (specifier, importer) => {
|
|
3396
|
-
const resolved =
|
|
3397
|
+
const resolved = _chunkOIPPISQ6cjs.resolveImportedModule.call(void 0, importer, specifier, root);
|
|
3397
3398
|
return resolved.local ? resolved.path : null;
|
|
3398
3399
|
}
|
|
3399
3400
|
});
|
|
@@ -3413,7 +3414,7 @@ function inferFarmRouteRootStrategy(owners, root) {
|
|
|
3413
3414
|
if (cached && cached.stamps.every(([read2, stamp]) => modifiedAt(read2) === stamp)) {
|
|
3414
3415
|
return cached.result;
|
|
3415
3416
|
}
|
|
3416
|
-
const { result, files } =
|
|
3417
|
+
const { result, files } = _chunkOIPPISQ6cjs.traceFarmSourceReads.call(void 0, () => inferRouteRoot(owners, root));
|
|
3417
3418
|
const read = new Set([...files, ...result.files].filter((file) => !isInstalledPackageFile(file)));
|
|
3418
3419
|
routeRootInferences.set(key, {
|
|
3419
3420
|
stamps: [...read].map((file) => [file, modifiedAt(file)]),
|
|
@@ -3430,7 +3431,7 @@ function inferRouteRoot(owners, root) {
|
|
|
3430
3431
|
const files = [];
|
|
3431
3432
|
const modules = [];
|
|
3432
3433
|
for (const owner of owners) {
|
|
3433
|
-
const rendered =
|
|
3434
|
+
const rendered = _chunkOIPPISQ6cjs.collectFarmRenderedClientModules.call(void 0, owner, root);
|
|
3434
3435
|
if (!rendered) {
|
|
3435
3436
|
return {
|
|
3436
3437
|
strategy: null,
|
|
@@ -3446,7 +3447,7 @@ function inferRouteRoot(owners, root) {
|
|
|
3446
3447
|
source = fs2.default.readFileSync(module, "utf8");
|
|
3447
3448
|
} catch (e11) {
|
|
3448
3449
|
}
|
|
3449
|
-
if (
|
|
3450
|
+
if (_chunkOIPPISQ6cjs.getIslandStrategyExport.call(void 0, source) !== null) return { strategy: null, files, declared: true };
|
|
3450
3451
|
}
|
|
3451
3452
|
for (const module of modules) {
|
|
3452
3453
|
const result = inferFarmIslandStrategy(module, root);
|
|
@@ -3837,7 +3838,7 @@ var DECLARATION_STATEMENTS = /* @__PURE__ */ new Set([
|
|
|
3837
3838
|
function parse(code, file) {
|
|
3838
3839
|
const extension = path4.default.extname(file).slice(1);
|
|
3839
3840
|
const lang = extension === "ts" || extension === "mts" || extension === "cts" ? "ts" : extension === "js" || extension === "mjs" || extension === "cjs" || extension === "jsx" ? "jsx" : "tsx";
|
|
3840
|
-
return
|
|
3841
|
+
return _chunkOIPPISQ6cjs.memoizeInFarmSourceSnapshot.call(void 0, `ast:${lang}`, code, () => {
|
|
3841
3842
|
try {
|
|
3842
3843
|
return _parseAst.parseAst.call(void 0, code, { lang });
|
|
3843
3844
|
} catch (e14) {
|
|
@@ -3972,14 +3973,14 @@ function isReference(node, parent, key) {
|
|
|
3972
3973
|
}
|
|
3973
3974
|
function readSource(file) {
|
|
3974
3975
|
try {
|
|
3975
|
-
|
|
3976
|
+
_chunkOIPPISQ6cjs.noteFarmSourceRead.call(void 0, file);
|
|
3976
3977
|
return fs2.default.readFileSync(file, "utf8");
|
|
3977
3978
|
} catch (e15) {
|
|
3978
3979
|
return null;
|
|
3979
3980
|
}
|
|
3980
3981
|
}
|
|
3981
3982
|
function explainFarmKeptLayoutRender(modulePath, root) {
|
|
3982
|
-
const entry =
|
|
3983
|
+
const entry = _chunkOIPPISQ6cjs.resolveModuleSourcePath.call(void 0, modulePath, root);
|
|
3983
3984
|
if (!entry) return `${modulePath} does not resolve`;
|
|
3984
3985
|
const visited = /* @__PURE__ */ new Set();
|
|
3985
3986
|
const check = (file) => {
|
|
@@ -3989,7 +3990,7 @@ function explainFarmKeptLayoutRender(modulePath, root) {
|
|
|
3989
3990
|
if (!SCRIPT_SOURCE.test(file)) return `${path4.default.relative(root, file)} is not a script`;
|
|
3990
3991
|
const code = readSource(file);
|
|
3991
3992
|
if (code === null) return `${path4.default.relative(root, file)} cannot be read`;
|
|
3992
|
-
const { reason, imports } =
|
|
3993
|
+
const { reason, imports } = _chunkOIPPISQ6cjs.memoizeInFarmSourceSnapshot.call(void 0,
|
|
3993
3994
|
"kept-layout-module",
|
|
3994
3995
|
code,
|
|
3995
3996
|
() => findFarmRequestDecidingConstruct(code, file)
|
|
@@ -4002,7 +4003,7 @@ function explainFarmKeptLayoutRender(modulePath, root) {
|
|
|
4002
4003
|
return `${path4.default.relative(root, file)} imports ${imported.names.join(", ")} from ${imported.source}`;
|
|
4003
4004
|
}
|
|
4004
4005
|
if (ASSET_SOURCE.test(imported.source.split("?")[0])) continue;
|
|
4005
|
-
const resolved =
|
|
4006
|
+
const resolved = _chunkOIPPISQ6cjs.resolveImportedModule.call(void 0, file, imported.source, root);
|
|
4006
4007
|
if (!resolved.path || !resolved.local) {
|
|
4007
4008
|
return `${path4.default.relative(root, file)} imports ${imported.source}`;
|
|
4008
4009
|
}
|
|
@@ -4017,15 +4018,15 @@ var answers = /* @__PURE__ */ new Map();
|
|
|
4017
4018
|
function canFarmSkipKeptLayoutRender(modulePath, root) {
|
|
4018
4019
|
const key = `${root}\0${modulePath}`;
|
|
4019
4020
|
const known = answers.get(key);
|
|
4020
|
-
if (known && known.stamps.every(([file, stamp]) =>
|
|
4021
|
+
if (known && known.stamps.every(([file, stamp]) => _chunkOIPPISQ6cjs.getFarmSourceStamp.call(void 0, file) === stamp)) {
|
|
4021
4022
|
return known.skip;
|
|
4022
4023
|
}
|
|
4023
|
-
const { result, files } =
|
|
4024
|
+
const { result, files } = _chunkOIPPISQ6cjs.traceFarmSourceReads.call(void 0,
|
|
4024
4025
|
() => explainFarmKeptLayoutRender(modulePath, root) === null
|
|
4025
4026
|
);
|
|
4026
4027
|
answers.set(key, {
|
|
4027
4028
|
skip: result,
|
|
4028
|
-
stamps: files.map((file) => [file,
|
|
4029
|
+
stamps: files.map((file) => [file, _chunkOIPPISQ6cjs.getFarmSourceStamp.call(void 0, file)])
|
|
4029
4030
|
});
|
|
4030
4031
|
return result;
|
|
4031
4032
|
}
|
|
@@ -4153,7 +4154,7 @@ var warnedSuppressedAsyncHydrationModules = /* @__PURE__ */ new Set();
|
|
|
4153
4154
|
function warnSuppressedAsyncHydrationOnce(modulePath, reason) {
|
|
4154
4155
|
if (warnedSuppressedAsyncHydrationModules.has(modulePath)) return;
|
|
4155
4156
|
warnedSuppressedAsyncHydrationModules.add(modulePath);
|
|
4156
|
-
_chunk7U4XF76Rcjs.logger.warn(
|
|
4157
|
+
_chunk7U4XF76Rcjs.logger.warn(_chunkOIPPISQ6cjs.describeSuppressedAsyncHydration.call(void 0, modulePath, reason));
|
|
4157
4158
|
}
|
|
4158
4159
|
var fullDocumentRoutes = /* @__PURE__ */ new Set();
|
|
4159
4160
|
var documentLayouts = /* @__PURE__ */ new WeakMap();
|
|
@@ -4879,7 +4880,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
|
|
|
4879
4880
|
* Check if a path should be served from SSG cache
|
|
4880
4881
|
*/
|
|
4881
4882
|
async shouldServeSSG(pathname) {
|
|
4882
|
-
const ssgPage =
|
|
4883
|
+
const ssgPage = _chunkKRU3XPOWcjs.matchSSGPage.call(void 0, pathname, this.ssgManifest);
|
|
4883
4884
|
if (!ssgPage) return null;
|
|
4884
4885
|
const cached = await this.getCachedSSGPage(pathname);
|
|
4885
4886
|
if (cached && await this.dataCache.isStaleAsync(cached)) {
|
|
@@ -5379,7 +5380,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
|
|
|
5379
5380
|
throw error;
|
|
5380
5381
|
}
|
|
5381
5382
|
}
|
|
5382
|
-
const renderingConfig = await
|
|
5383
|
+
const renderingConfig = await _chunkKRU3XPOWcjs.resolveRouteRenderingConfigFromFile.call(void 0,
|
|
5383
5384
|
routeModule,
|
|
5384
5385
|
route.modulePath,
|
|
5385
5386
|
{ experimentalPPR: _optionalChain([this, 'access', _157 => _157.config, 'access', _158 => _158.experimental, 'optionalAccess', _159 => _159.ppr]) === true }
|
|
@@ -5471,7 +5472,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
|
|
|
5471
5472
|
const routeManifestEntry = routeManifest.routes.find(
|
|
5472
5473
|
(entry) => entry.pattern === route.pattern
|
|
5473
5474
|
);
|
|
5474
|
-
const moduleMetadata = routeManifestEntry ||
|
|
5475
|
+
const moduleMetadata = routeManifestEntry || _chunkOIPPISQ6cjs.getClientModuleMetadata.call(void 0, route.modulePath, this.config.root);
|
|
5475
5476
|
const isClientComponent = moduleMetadata.isClientComponent;
|
|
5476
5477
|
const renderedRouteSlots = await Promise.all(
|
|
5477
5478
|
routeSlots.map(async (slot) => {
|
|
@@ -6293,7 +6294,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
|
|
|
6293
6294
|
if (this.routeManager.matchRoute(_chunkW53Z4WDIcjs.FARM_DEFAULT_MCP_PATH).route) return void 0;
|
|
6294
6295
|
_nullishCoalesce(this.defaultMCPServer, () => ( (this.defaultMCPServer = _chunkW53Z4WDIcjs.createFarmDefaultMCPServer.call(void 0,
|
|
6295
6296
|
readAppPackageIdentity(this.config.root),
|
|
6296
|
-
|
|
6297
|
+
_chunkV3Y3R3JJcjs.FARM_VERSION
|
|
6297
6298
|
))));
|
|
6298
6299
|
return _chunkW53Z4WDIcjs.resolveFarmDefaultMCPServer.call(void 0, this.defaultMCPServer);
|
|
6299
6300
|
}
|
|
@@ -6387,7 +6388,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
|
|
|
6387
6388
|
pages,
|
|
6388
6389
|
config,
|
|
6389
6390
|
rootMetadata,
|
|
6390
|
-
mcp: _optionalChain([this, 'access', _246 => _246.config, 'access', _247 => _247.agent, 'optionalAccess', _248 => _248.aiCatalog]) === false ? [] :
|
|
6391
|
+
mcp: _optionalChain([this, 'access', _246 => _246.config, 'access', _247 => _247.agent, 'optionalAccess', _248 => _248.aiCatalog]) === false ? [] : _chunk6BMAGVDIcjs.listFarmMCPLlmsTxtLinks.call(void 0, origin, {
|
|
6391
6392
|
basePath: this.config.basePath,
|
|
6392
6393
|
apiServerBasePath: _chunk2OF5RPVUcjs.resolveFarmAPIServerBasePath.call(void 0,
|
|
6393
6394
|
_chunkPMJSG4JScjs.normalizeFarmAPIConfig.call(void 0,
|
|
@@ -7415,7 +7416,7 @@ window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0
|
|
|
7415
7416
|
stack: _optionalChain([diagnostics, 'optionalAccess', _329 => _329.stack]),
|
|
7416
7417
|
sourceFrame: _optionalChain([diagnostics, 'optionalAccess', _330 => _330.sourceFrame]),
|
|
7417
7418
|
development: isDev,
|
|
7418
|
-
farmVersion:
|
|
7419
|
+
farmVersion: _chunkV3Y3R3JJcjs.FARM_VERSION,
|
|
7419
7420
|
nodeVersion: process.version,
|
|
7420
7421
|
mode: isDev ? "development" : "production"
|
|
7421
7422
|
})
|
|
@@ -8657,6 +8658,11 @@ function getFarmClientOptimizeDepsInclude(renderer, root) {
|
|
|
8657
8658
|
// renderer stays source: pre-bundling it would copy the packages it shares with the app's
|
|
8658
8659
|
// components into the bundle, so a hook would read a different copy than the renderer set.
|
|
8659
8660
|
...renderer && root && !_chunkT7UC2ORAcjs.isReactRenderer.call(void 0, renderer) && _chunkPWDBWXQIcjs.isPackageSpecifier.call(void 0, renderer.client) && isInstalledPackage(root, renderer.client) ? [renderer.client] : [],
|
|
8661
|
+
// Farm's renderer API, which a renderer's bindings import. An app's components reach it only
|
|
8662
|
+
// through them, from files Vite's scan may not read, such as a custom renderer's own format.
|
|
8663
|
+
// Served as source from a linked renderer, its imports were found on the first page request,
|
|
8664
|
+
// and Vite bundled again and reloaded the page while it loaded.
|
|
8665
|
+
...renderer && !_chunkT7UC2ORAcjs.isReactRenderer.call(void 0, renderer) ? ["@farm.js/core/renderer-client"] : [],
|
|
8660
8666
|
// The islands runtime of a renderer that declares `islands`, which only Farm's entry imports.
|
|
8661
8667
|
...renderer && !_chunkT7UC2ORAcjs.isReactRenderer.call(void 0, renderer) && _chunkT7UC2ORAcjs.getFarmRendererCapabilities.call(void 0, renderer).islands ? [
|
|
8662
8668
|
"@farm.js/core/internal/renderer-islands",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkZSVFI7JMcjs = require('./chunk-ZSVFI7JM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkWEZTGM7Ncjs = require('./chunk-WEZTGM7N.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -838,7 +838,7 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
840
|
if (shouldGenerateApi) {
|
|
841
|
-
const generator = new (0,
|
|
841
|
+
const generator = new (0, _chunkWEZTGM7Ncjs.APITypeGenerator)(appDirs);
|
|
842
842
|
const apiRoutes = generator.scanAPIRoutes();
|
|
843
843
|
const apiTypesPath = options.apiTypesOutFile ? _path.resolve.call(void 0, root, options.apiTypesOutFile) : _path.join.call(void 0, root, srcDir, "lib", "api.generated.ts");
|
|
844
844
|
const pluginRoutes = _chunkVGVRGGP4cjs.resolvePluginRoutes.call(void 0,
|