@absolutejs/absolute 0.18.2-beta.1 → 0.18.2-beta.2
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/prettier.cache.json +3 -2
- package/dist/build.js +26 -24
- package/dist/build.js.map +3 -3
- package/dist/index.js +26 -24
- package/dist/index.js.map +3 -3
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -173594,30 +173594,32 @@ var FRAMEWORK_DIR_KEYS, reloadConfig = async () => {
|
|
|
173594
173594
|
});
|
|
173595
173595
|
});
|
|
173596
173596
|
}
|
|
173597
|
-
|
|
173598
|
-
|
|
173599
|
-
|
|
173600
|
-
|
|
173601
|
-
|
|
173602
|
-
|
|
173597
|
+
try {
|
|
173598
|
+
const newManifest = await build2({
|
|
173599
|
+
...state.config,
|
|
173600
|
+
mode: "development",
|
|
173601
|
+
options: {
|
|
173602
|
+
...state.config.options,
|
|
173603
|
+
injectHMR: true
|
|
173604
|
+
}
|
|
173605
|
+
});
|
|
173606
|
+
if (newManifest) {
|
|
173607
|
+
Object.assign(cached.manifest, newManifest);
|
|
173608
|
+
state.manifest = cached.manifest;
|
|
173609
|
+
await populateAssetStore(state.assetStore, cached.manifest, state.resolvedPaths.buildDir);
|
|
173610
|
+
await cleanStaleAssets(state.assetStore, cached.manifest, state.resolvedPaths.buildDir);
|
|
173611
|
+
}
|
|
173612
|
+
if (newlyAddedReact) {
|
|
173613
|
+
await buildReactVendor(state.resolvedPaths.buildDir);
|
|
173614
|
+
const vendorDir = resolve20(state.resolvedPaths.buildDir, "react", "vendor");
|
|
173615
|
+
await loadVendorFiles(state.assetStore, vendorDir, "react");
|
|
173616
|
+
}
|
|
173617
|
+
if (newlyAddedAngular) {
|
|
173618
|
+
await buildAngularVendor(state.resolvedPaths.buildDir);
|
|
173619
|
+
const vendorDir = resolve20(state.resolvedPaths.buildDir, "angular", "vendor");
|
|
173620
|
+
await loadVendorFiles(state.assetStore, vendorDir, "angular");
|
|
173603
173621
|
}
|
|
173604
|
-
}
|
|
173605
|
-
if (newManifest) {
|
|
173606
|
-
Object.assign(cached.manifest, newManifest);
|
|
173607
|
-
state.manifest = cached.manifest;
|
|
173608
|
-
await populateAssetStore(state.assetStore, cached.manifest, state.resolvedPaths.buildDir);
|
|
173609
|
-
await cleanStaleAssets(state.assetStore, cached.manifest, state.resolvedPaths.buildDir);
|
|
173610
|
-
}
|
|
173611
|
-
if (newlyAddedReact) {
|
|
173612
|
-
await buildReactVendor(state.resolvedPaths.buildDir);
|
|
173613
|
-
const vendorDir = resolve20(state.resolvedPaths.buildDir, "react", "vendor");
|
|
173614
|
-
await loadVendorFiles(state.assetStore, vendorDir, "react");
|
|
173615
|
-
}
|
|
173616
|
-
if (newlyAddedAngular) {
|
|
173617
|
-
await buildAngularVendor(state.resolvedPaths.buildDir);
|
|
173618
|
-
const vendorDir = resolve20(state.resolvedPaths.buildDir, "angular", "vendor");
|
|
173619
|
-
await loadVendorFiles(state.assetStore, vendorDir, "angular");
|
|
173620
|
-
}
|
|
173622
|
+
} catch {}
|
|
173621
173623
|
}, handleCachedReload = async () => {
|
|
173622
173624
|
const serverMtime = statSync(resolve20(Bun.main)).mtimeMs;
|
|
173623
173625
|
const lastMtime = globalThis.__hmrServerMtime;
|
|
@@ -174172,5 +174174,5 @@ export {
|
|
|
174172
174174
|
ANGULAR_INIT_TIMEOUT_MS
|
|
174173
174175
|
};
|
|
174174
174176
|
|
|
174175
|
-
//# debugId=
|
|
174177
|
+
//# debugId=25E41571381617E364756E2164756E21
|
|
174176
174178
|
//# sourceMappingURL=index.js.map
|