@absolutejs/absolute 0.19.0-beta.1100 → 0.19.0-beta.1102
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/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +72 -36
- package/dist/build.js.map +7 -6
- package/dist/index.js +72 -36
- package/dist/index.js.map +7 -6
- package/dist/src/build/compileSvelte.d.ts +3 -0
- package/dist/src/build/serverExternals.d.ts +14 -0
- package/package.json +1 -1
|
@@ -3,6 +3,9 @@ type Built = {
|
|
|
3
3
|
ssr: string;
|
|
4
4
|
client: string;
|
|
5
5
|
hasAwaitSlot: boolean;
|
|
6
|
+
/** `.svelte.ts`/`.svelte.js` runes module (compileModule output) — has no
|
|
7
|
+
* component default export, so it must never get a hydration index. */
|
|
8
|
+
isModule: boolean;
|
|
6
9
|
};
|
|
7
10
|
type Cache = Map<string, Built>;
|
|
8
11
|
export declare const clearSvelteCompilerCache: () => void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Cross-framework externals for SERVER (Bun-target) page bundles.
|
|
2
|
+
*
|
|
3
|
+
* `@absolutejs/absolute`'s internals reference every framework's runtime
|
|
4
|
+
* transitively (react-dom/server, svelte/server, @angular/core, …). A
|
|
5
|
+
* single-framework project only has its own framework installed, so these
|
|
6
|
+
* specifiers must stay bare — resolved (or harmlessly absent) at runtime —
|
|
7
|
+
* instead of failing the bundle at build time with "Could not resolve".
|
|
8
|
+
*
|
|
9
|
+
* The initial build always used this list (core/build.ts); the dev bundle
|
|
10
|
+
* rebuilds only externalized their own framework's packages, which meant a
|
|
11
|
+
* vue-only project's SSR rebuild failed on react/svelte/angular imports on
|
|
12
|
+
* EVERY edit — silently, before soft-failure logging landed — and the dev
|
|
13
|
+
* server served boot-time SSR bundles until restart. */
|
|
14
|
+
export declare const buildServerBundleExternals: (angularVendorPaths?: Record<string, string> | null) => string[];
|