@absolutejs/absolute 0.19.0-beta.90 → 0.19.0-beta.92
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 +17 -2
- package/dist/build.js.map +3 -3
- package/dist/dev/client/handlers/rebuild.ts +0 -11
- package/dist/freshBuildWorker.js +3 -2
- package/dist/index.js +17 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -204407,7 +204407,6 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
204407
204407
|
broadcastToClients(state, {
|
|
204408
204408
|
data: {
|
|
204409
204409
|
affectedFrameworks,
|
|
204410
|
-
fullReload: wasSubprocess,
|
|
204411
204410
|
manifest
|
|
204412
204411
|
},
|
|
204413
204412
|
message: "Rebuild completed successfully",
|
|
@@ -204416,6 +204415,22 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
204416
204415
|
if (filesToRebuild && filesToRebuild.length > 0 && !wasSubprocess) {
|
|
204417
204416
|
await handleFullBuildHMR(state, config, affectedFrameworks, filesToRebuild, manifest, duration);
|
|
204418
204417
|
}
|
|
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
|
+
}
|
|
204419
204434
|
if (!wasSubprocess)
|
|
204420
204435
|
broadcastFrameworkUpdates(state, affectedFrameworks, filesToRebuild, manifest, startTime);
|
|
204421
204436
|
if (affectedFrameworks.includes("angular")) {
|
|
@@ -204922,5 +204937,5 @@ export {
|
|
|
204922
204937
|
build
|
|
204923
204938
|
};
|
|
204924
204939
|
|
|
204925
|
-
//# debugId=
|
|
204940
|
+
//# debugId=74A078346E3D845C64756E2164756E21
|
|
204926
204941
|
//# sourceMappingURL=build.js.map
|