@absolutejs/absolute 0.19.0-beta.86 → 0.19.0-beta.87
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 +10 -17
- package/dist/build.js.map +3 -3
- package/dist/index.js +10 -17
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -204356,21 +204356,13 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
204356
204356
|
};
|
|
204357
204357
|
let manifest;
|
|
204358
204358
|
if (hasNonComponentFiles && subprocessConfig) {
|
|
204359
|
-
const
|
|
204360
|
-
const
|
|
204361
|
-
|
|
204362
|
-
|
|
204363
|
-
|
|
204364
|
-
|
|
204365
|
-
|
|
204366
|
-
writeFileSync5(tmpScript, [
|
|
204367
|
-
'import { build } from "@absolutejs/absolute/build";',
|
|
204368
|
-
`const config = JSON.parse(await Bun.file("${escapedConfig}").text());`,
|
|
204369
|
-
"const manifest = await build(config);",
|
|
204370
|
-
'console.log("__MANIFEST__" + JSON.stringify(manifest));'
|
|
204371
|
-
].join(`
|
|
204372
|
-
`));
|
|
204373
|
-
const proc = Bun.spawn(["bun", "run", tmpScript], {
|
|
204359
|
+
const configJson = JSON.stringify(subprocessConfig);
|
|
204360
|
+
const proc = Bun.spawn([
|
|
204361
|
+
"bun",
|
|
204362
|
+
"-e",
|
|
204363
|
+
'import{build}from"@absolutejs/absolute/build";const m=await build(JSON.parse(process.argv[1]));console.log("__MANIFEST__"+JSON.stringify(m))',
|
|
204364
|
+
configJson
|
|
204365
|
+
], {
|
|
204374
204366
|
cwd: process.cwd(),
|
|
204375
204367
|
stderr: "pipe",
|
|
204376
204368
|
stdout: "pipe"
|
|
@@ -204426,7 +204418,8 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
204426
204418
|
if (filesToRebuild && filesToRebuild.length > 0 && !wasSubprocess) {
|
|
204427
204419
|
await handleFullBuildHMR(state, config, affectedFrameworks, filesToRebuild, manifest, duration);
|
|
204428
204420
|
}
|
|
204429
|
-
|
|
204421
|
+
if (!wasSubprocess)
|
|
204422
|
+
broadcastFrameworkUpdates(state, affectedFrameworks, filesToRebuild, manifest, startTime);
|
|
204430
204423
|
if (affectedFrameworks.includes("angular")) {
|
|
204431
204424
|
invalidateAngularSsrCache();
|
|
204432
204425
|
}
|
|
@@ -205336,5 +205329,5 @@ export {
|
|
|
205336
205329
|
ANGULAR_INIT_TIMEOUT_MS
|
|
205337
205330
|
};
|
|
205338
205331
|
|
|
205339
|
-
//# debugId=
|
|
205332
|
+
//# debugId=0765327BDBD9976664756E2164756E21
|
|
205340
205333
|
//# sourceMappingURL=index.js.map
|