@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.
@@ -86,7 +86,7 @@
86
86
  "src/vue/pageHandler.ts": "3j5xvetjyii9p",
87
87
  "src/vue/index.ts": "2hz43zpct7mgi",
88
88
  "src/core/devVendorPaths.ts": "1n8mzzxtyk99u",
89
- "src/core/devBuild.ts": "rjfe1xyvykuh",
89
+ "src/core/devBuild.ts": "6lknkji0mqg2",
90
90
  "src/core/prepare.ts": "2qtxdqcmxdc70",
91
91
  "src/core/lookup.ts": "26sxtbdzs5myx",
92
92
  "src/core/index.ts": "2e2493pkqrfdy",
@@ -124,6 +124,7 @@
124
124
  "tests/integration/hmr/lifecycle/cold-start.test.ts": "ehjvmud8s48k",
125
125
  "tests/integration/hmr/lifecycle/reconnect.test.ts": "xlrjz21uz03h",
126
126
  "tests/integration/hmr/lifecycle/first-change.test.ts": "3m8d0all6pfm7",
127
+ "tests/integration/hmr/lifecycle/config-change.test.ts": "2j3xpm4z8dix3",
127
128
  "tests/integration/hmr/lifecycle/error-recovery.test.ts": "19ctdcrh5bxj9",
128
129
  "tests/integration/hmr/lifecycle/warm-change.test.ts": "k3iqtujw6gd6",
129
130
  "tests/integration/hmr/lifecycle/rapid-changes.test.ts": "2uz9fnpw1wk9l",
@@ -177,7 +178,7 @@
177
178
  "example/angular/compiled/components/counter.component.js": "2oew7n0s1wzck",
178
179
  "eslint.config.mjs": "kk4n5twg4v4r",
179
180
  "tsconfig.json": "3pf54bnsv1pxc",
180
- "package.json": "2ty2o8kj3jvzy",
181
+ "package.json": "x39cmaydzezz",
181
182
  "tsconfig.build.json": "976e92rva922",
182
183
  "example/svelte/pages/SvelteExample.svelte": "18y2nvi52u8ps",
183
184
  "example/svelte/components/Counter.svelte": "1p92uo1pko0wo",
package/dist/build.js CHANGED
@@ -173594,30 +173594,32 @@ var FRAMEWORK_DIR_KEYS, reloadConfig = async () => {
173594
173594
  });
173595
173595
  });
173596
173596
  }
173597
- const newManifest = await build({
173598
- ...state.config,
173599
- mode: "development",
173600
- options: {
173601
- ...state.config.options,
173602
- injectHMR: true
173597
+ try {
173598
+ const newManifest = await build({
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 = resolve19(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 = resolve19(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 = resolve19(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 = resolve19(state.resolvedPaths.buildDir, "angular", "vendor");
173619
- await loadVendorFiles(state.assetStore, vendorDir, "angular");
173620
- }
173622
+ } catch {}
173621
173623
  }, handleCachedReload = async () => {
173622
173624
  const serverMtime = statSync(resolve19(Bun.main)).mtimeMs;
173623
173625
  const lastMtime = globalThis.__hmrServerMtime;
@@ -173749,5 +173751,5 @@ export {
173749
173751
  build
173750
173752
  };
173751
173753
 
173752
- //# debugId=D321841A9FF4E6FD64756E2164756E21
173754
+ //# debugId=D5E44AF033CD2C3E64756E2164756E21
173753
173755
  //# sourceMappingURL=build.js.map