@absolutejs/absolute 0.19.0-beta.92 → 0.19.0-beta.94
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/dist/build.js +6 -18
- package/dist/build.js.map +3 -3
- package/dist/dev/client/handlers/rebuild.ts +10 -0
- package/dist/index.js +6 -18
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -204375,7 +204375,10 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
204375
204375
|
`).find((l) => l.startsWith("__MANIFEST__"));
|
|
204376
204376
|
if (manifestLine) {
|
|
204377
204377
|
const freshManifest = JSON.parse(manifestLine.slice("__MANIFEST__".length));
|
|
204378
|
-
|
|
204378
|
+
for (const [key, value] of Object.entries(freshManifest)) {
|
|
204379
|
+
state.manifest[key] = value;
|
|
204380
|
+
}
|
|
204381
|
+
manifest = state.manifest;
|
|
204379
204382
|
} else {
|
|
204380
204383
|
manifest = await build(buildConfig);
|
|
204381
204384
|
}
|
|
@@ -204407,6 +204410,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
204407
204410
|
broadcastToClients(state, {
|
|
204408
204411
|
data: {
|
|
204409
204412
|
affectedFrameworks,
|
|
204413
|
+
fullReload: wasSubprocess,
|
|
204410
204414
|
manifest
|
|
204411
204415
|
},
|
|
204412
204416
|
message: "Rebuild completed successfully",
|
|
@@ -204415,22 +204419,6 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
204415
204419
|
if (filesToRebuild && filesToRebuild.length > 0 && !wasSubprocess) {
|
|
204416
204420
|
await handleFullBuildHMR(state, config, affectedFrameworks, filesToRebuild, manifest, duration);
|
|
204417
204421
|
}
|
|
204418
|
-
if (wasSubprocess) {
|
|
204419
|
-
const pageKey = "DocumentationIndex";
|
|
204420
|
-
const reactFiles = (filesToRebuild ?? []).filter((f) => detectFramework(f, state.resolvedPaths) === "react");
|
|
204421
|
-
const primarySource = reactFiles.find((f) => f.endsWith(".ts") && !f.endsWith(".d.ts"));
|
|
204422
|
-
broadcastToClients(state, {
|
|
204423
|
-
data: {
|
|
204424
|
-
framework: "react",
|
|
204425
|
-
hasComponentChanges: true,
|
|
204426
|
-
hasCSSChanges: false,
|
|
204427
|
-
manifest,
|
|
204428
|
-
primarySource,
|
|
204429
|
-
sourceFiles: reactFiles
|
|
204430
|
-
},
|
|
204431
|
-
type: "react-update"
|
|
204432
|
-
});
|
|
204433
|
-
}
|
|
204434
204422
|
if (!wasSubprocess)
|
|
204435
204423
|
broadcastFrameworkUpdates(state, affectedFrameworks, filesToRebuild, manifest, startTime);
|
|
204436
204424
|
if (affectedFrameworks.includes("angular")) {
|
|
@@ -204937,5 +204925,5 @@ export {
|
|
|
204937
204925
|
build
|
|
204938
204926
|
};
|
|
204939
204927
|
|
|
204940
|
-
//# debugId=
|
|
204928
|
+
//# debugId=641B853BB815E9FE64756E2164756E21
|
|
204941
204929
|
//# sourceMappingURL=build.js.map
|