@absolutejs/absolute 0.19.0-beta.59 → 0.19.0-beta.60
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 +4 -2
- package/dist/build.js.map +3 -3
- package/dist/index.js +4 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -203448,7 +203448,9 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
203448
203448
|
for (const file4 of reactFiles) {
|
|
203449
203449
|
invalidateModule2(file4);
|
|
203450
203450
|
}
|
|
203451
|
-
const
|
|
203451
|
+
const isComponentFile = primaryFile.endsWith(".tsx") || primaryFile.endsWith(".jsx");
|
|
203452
|
+
const broadcastFile = isComponentFile ? primaryFile : reactFiles.find((f) => f.replace(/\\/g, "/").includes("/pages/") && (f.endsWith(".tsx") || f.endsWith(".jsx"))) ?? primaryFile;
|
|
203453
|
+
const pageModuleUrl = await getReactModuleUrl(broadcastFile);
|
|
203452
203454
|
if (pageModuleUrl) {
|
|
203453
203455
|
const serverDuration = Date.now() - startTime;
|
|
203454
203456
|
state.lastHmrPath = relative8(process.cwd(), primaryFile).replace(/\\/g, "/");
|
|
@@ -205218,5 +205220,5 @@ export {
|
|
|
205218
205220
|
ANGULAR_INIT_TIMEOUT_MS
|
|
205219
205221
|
};
|
|
205220
205222
|
|
|
205221
|
-
//# debugId=
|
|
205223
|
+
//# debugId=9DD6277654370C6A64756E2164756E21
|
|
205222
205224
|
//# sourceMappingURL=index.js.map
|