@absolutejs/absolute 0.19.0-beta.64 → 0.19.0-beta.65
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/.absolutejs/tsconfig.tsbuildinfo +1 -1
- package/.claude/settings.local.json +3 -1
- package/dist/build.js +3 -31
- package/dist/build.js.map +3 -3
- package/dist/dev/client/handlers/react.ts +12 -9
- package/dist/index.js +3 -31
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
|
@@ -220,7 +220,9 @@
|
|
|
220
220
|
"Bash(kill 883998)",
|
|
221
221
|
"Bash(sed -i 's/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.61\"\"\"\"/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.62\"\"\"\"/' package.json)",
|
|
222
222
|
"Bash(kill 892052)",
|
|
223
|
-
"Bash(sed -i 's/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.62\"\"\"\"/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.63\"\"\"\"/' package.json)"
|
|
223
|
+
"Bash(sed -i 's/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.62\"\"\"\"/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.63\"\"\"\"/' package.json)",
|
|
224
|
+
"Bash(kill 895541)",
|
|
225
|
+
"Bash(sed -i 's/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.63\"\"\"\"/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.64\"\"\"\"/' package.json)"
|
|
224
226
|
]
|
|
225
227
|
}
|
|
226
228
|
}
|
package/dist/build.js
CHANGED
|
@@ -203450,36 +203450,8 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
203450
203450
|
invalidateModule2(file3);
|
|
203451
203451
|
}
|
|
203452
203452
|
const isComponentFile = primaryFile.endsWith(".tsx") || primaryFile.endsWith(".jsx");
|
|
203453
|
-
|
|
203454
|
-
|
|
203455
|
-
const pageFile = reactFiles.find((f) => f.replace(/\\/g, "/").includes("/pages/") && (f.endsWith(".tsx") || f.endsWith(".jsx")));
|
|
203456
|
-
if (pageFile) {
|
|
203457
|
-
broadcastFile = pageFile;
|
|
203458
|
-
} else {
|
|
203459
|
-
const visited = new Set;
|
|
203460
|
-
const queue = [resolve20(primaryFile)];
|
|
203461
|
-
while (queue.length > 0) {
|
|
203462
|
-
const current = queue.shift();
|
|
203463
|
-
if (visited.has(current))
|
|
203464
|
-
continue;
|
|
203465
|
-
visited.add(current);
|
|
203466
|
-
if (current.replace(/\\/g, "/").includes("/pages/") && (current.endsWith(".tsx") || current.endsWith(".jsx"))) {
|
|
203467
|
-
broadcastFile = current;
|
|
203468
|
-
break;
|
|
203469
|
-
}
|
|
203470
|
-
const deps = state.dependencyGraph.dependents.get(current);
|
|
203471
|
-
if (deps) {
|
|
203472
|
-
for (const dep of deps)
|
|
203473
|
-
queue.push(dep);
|
|
203474
|
-
}
|
|
203475
|
-
}
|
|
203476
|
-
}
|
|
203477
|
-
}
|
|
203478
|
-
const pageModuleUrl = await getReactModuleUrl(broadcastFile);
|
|
203479
|
-
let dataModuleUrl;
|
|
203480
|
-
if (!isComponentFile && broadcastFile !== primaryFile) {
|
|
203481
|
-
dataModuleUrl = await getReactModuleUrl(primaryFile);
|
|
203482
|
-
}
|
|
203453
|
+
const pageModuleUrl = await getReactModuleUrl(primaryFile);
|
|
203454
|
+
const dataModuleUrl = isComponentFile ? undefined : pageModuleUrl;
|
|
203483
203455
|
if (pageModuleUrl) {
|
|
203484
203456
|
const serverDuration = Date.now() - startTime;
|
|
203485
203457
|
state.lastHmrPath = relative9(process.cwd(), primaryFile).replace(/\\/g, "/");
|
|
@@ -204862,5 +204834,5 @@ export {
|
|
|
204862
204834
|
build
|
|
204863
204835
|
};
|
|
204864
204836
|
|
|
204865
|
-
//# debugId=
|
|
204837
|
+
//# debugId=421E365206B8CDCA64756E2164756E21
|
|
204866
204838
|
//# sourceMappingURL=build.js.map
|