@absolutejs/absolute 0.18.2-beta.1 → 0.18.2-beta.3

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.
@@ -51,19 +51,20 @@
51
51
  "src/dev/client/reactRefreshSetup.ts": "rkzjetmluctl",
52
52
  "src/dev/client/moduleVersions.ts": "248160abau9h5",
53
53
  "src/dev/client/frameworkDetect.ts": "3334zbm26hifu",
54
- "src/dev/client/domDiff.ts": "d7utt4o3pw55",
55
- "src/dev/client/cssUtils.ts": "movpm7seg4oy",
56
- "src/dev/client/errorOverlay.ts": "3ouuxn2oti53k",
57
- "src/dev/client/domState.ts": "3krhs6udgh7xs",
58
- "src/dev/client/hmrClient.ts": "3q59cc8lk8eca",
59
- "src/dev/client/handlers/angular.ts": "10uzgyqjq5460",
54
+ "src/dev/client/domDiff.ts": "1l75iue36jnbj",
55
+ "src/dev/client/constants.ts": "18mgegh7j259m",
56
+ "src/dev/client/cssUtils.ts": "1juz4ohghkhtk",
57
+ "src/dev/client/errorOverlay.ts": "xmgn25pozkow",
58
+ "src/dev/client/domState.ts": "2ynh0cmru6iq3",
59
+ "src/dev/client/hmrClient.ts": "12mtsqgfvgu2d",
60
+ "src/dev/client/handlers/angular.ts": "216fhafx68xki",
60
61
  "src/dev/client/handlers/react.ts": "6u546gn1fmr5",
61
- "src/dev/client/handlers/html.ts": "34fezopn574a3",
62
- "src/dev/client/handlers/rebuild.ts": "18idlj7la0nbg",
62
+ "src/dev/client/handlers/html.ts": "10xzsckw7unvb",
63
+ "src/dev/client/handlers/rebuild.ts": "3nizj7ou45llm",
63
64
  "src/dev/client/handlers/angularRuntime.ts": "3axhduqw7qb85",
64
65
  "src/dev/client/handlers/vue.ts": "3b7e0xcokd1nt",
65
- "src/dev/client/handlers/htmx.ts": "vm7z5yjz4gne",
66
- "src/dev/client/handlers/svelte.ts": "2n3wf36cdhiuc",
66
+ "src/dev/client/handlers/htmx.ts": "sjayu1bz2xrn",
67
+ "src/dev/client/handlers/svelte.ts": "3nk5w54bywimt",
67
68
  "src/utils/escapeScriptContent.ts": "1gg8nciaxrh5v",
68
69
  "src/utils/logger.ts": "o7wfmitlmshq",
69
70
  "src/utils/ssrErrorPage.ts": "1cfwzntnoaf9d",
@@ -86,7 +87,7 @@
86
87
  "src/vue/pageHandler.ts": "3j5xvetjyii9p",
87
88
  "src/vue/index.ts": "2hz43zpct7mgi",
88
89
  "src/core/devVendorPaths.ts": "1n8mzzxtyk99u",
89
- "src/core/devBuild.ts": "rjfe1xyvykuh",
90
+ "src/core/devBuild.ts": "6lknkji0mqg2",
90
91
  "src/core/prepare.ts": "2qtxdqcmxdc70",
91
92
  "src/core/lookup.ts": "26sxtbdzs5myx",
92
93
  "src/core/index.ts": "2e2493pkqrfdy",
@@ -124,6 +125,7 @@
124
125
  "tests/integration/hmr/lifecycle/cold-start.test.ts": "ehjvmud8s48k",
125
126
  "tests/integration/hmr/lifecycle/reconnect.test.ts": "xlrjz21uz03h",
126
127
  "tests/integration/hmr/lifecycle/first-change.test.ts": "3m8d0all6pfm7",
128
+ "tests/integration/hmr/lifecycle/config-change.test.ts": "2j3xpm4z8dix3",
127
129
  "tests/integration/hmr/lifecycle/error-recovery.test.ts": "19ctdcrh5bxj9",
128
130
  "tests/integration/hmr/lifecycle/warm-change.test.ts": "k3iqtujw6gd6",
129
131
  "tests/integration/hmr/lifecycle/rapid-changes.test.ts": "2uz9fnpw1wk9l",
@@ -177,7 +179,7 @@
177
179
  "example/angular/compiled/components/counter.component.js": "2oew7n0s1wzck",
178
180
  "eslint.config.mjs": "kk4n5twg4v4r",
179
181
  "tsconfig.json": "3pf54bnsv1pxc",
180
- "package.json": "2ty2o8kj3jvzy",
182
+ "package.json": "26yvh9amdsu59",
181
183
  "tsconfig.build.json": "976e92rva922",
182
184
  "example/svelte/pages/SvelteExample.svelte": "18y2nvi52u8ps",
183
185
  "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