@absolutejs/absolute 0.19.0-beta.1102 → 0.19.0-beta.1104
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/angular/index.js +11 -2
- package/dist/angular/index.js.map +3 -3
- package/dist/angular/server.js +11 -2
- package/dist/angular/server.js.map +3 -3
- package/dist/build.js +75 -42
- package/dist/build.js.map +5 -5
- package/dist/index.js +75 -42
- package/dist/index.js.map +5 -5
- package/dist/src/build/compileAngular.d.ts +0 -5
- package/dist/src/dev/rebuildTrigger.d.ts +4 -0
- package/dist/vue/index.js +4 -1
- package/dist/vue/index.js.map +3 -3
- package/dist/vue/server.js +4 -1
- package/dist/vue/server.js.map +3 -3
- package/package.json +2 -1
|
@@ -2,11 +2,6 @@ import type { StylePreprocessorConfig } from '../../types/build';
|
|
|
2
2
|
export declare const compileAngularFiles: (inputPaths: string[], outDir: string, stylePreprocessors?: StylePreprocessorConfig) => Promise<string[]>;
|
|
3
3
|
export declare const compileAngularFile: (inputPath: string, outDir: string, stylePreprocessors?: StylePreprocessorConfig) => Promise<string[]>;
|
|
4
4
|
export declare const invalidateAngularJitCache: (filePath: string) => void;
|
|
5
|
-
/** Angular HMR Runtime Layer (Level 3) — JIT-mode compilation for dev/HMR builds.
|
|
6
|
-
* Uses ts.transpileModule() instead of Angular AOT performCompilation().
|
|
7
|
-
* Inlines templateUrl → template and styleUrls → styles from disk.
|
|
8
|
-
* Recursively transpiles all local imports so Bun's bundler can resolve them.
|
|
9
|
-
* ~50-100ms for a tree of ~10 files vs ~500-700ms for AOT. */
|
|
10
5
|
export declare const compileAngularFileJIT: (inputPath: string, outDir: string, rootDir?: string, stylePreprocessors?: StylePreprocessorConfig, cacheBuster?: string) => Promise<string[]>;
|
|
11
6
|
/** Build-time providers info threaded down from `runAngularHandlerScan`.
|
|
12
7
|
* When present, `compileAngular` injects an `export const providers = [...]`
|
|
@@ -5,6 +5,10 @@ export declare const queueFileChange: (state: HMRState, filePath: string, config
|
|
|
5
5
|
hmrState: HMRState;
|
|
6
6
|
}) => void) => Promise<void>;
|
|
7
7
|
export type AngularHmrTier = 0 | 1 | 2;
|
|
8
|
+
export declare const drainPendingQueue: (state: HMRState, config: BuildConfig, onRebuildComplete: (result: {
|
|
9
|
+
manifest: Record<string, string>;
|
|
10
|
+
hmrState: HMRState;
|
|
11
|
+
}) => void) => void;
|
|
8
12
|
export declare const triggerRebuild: (state: HMRState, config: BuildConfig, onRebuildComplete: (result: {
|
|
9
13
|
manifest: Record<string, string>;
|
|
10
14
|
hmrState: HMRState;
|
package/dist/vue/index.js
CHANGED
|
@@ -5084,6 +5084,9 @@ var handleVuePageRequest = async (input) => {
|
|
|
5084
5084
|
const maybeProps = input.props;
|
|
5085
5085
|
const clientMode = input.client ?? "auto";
|
|
5086
5086
|
const resolvedIndexPath = input.indexPath;
|
|
5087
|
+
if (clientMode === "auto" && resolvedIndexPath === "") {
|
|
5088
|
+
throw new Error(`Asset "${derivePageName(resolvedPagePath)}Index" not found in manifest.`);
|
|
5089
|
+
}
|
|
5087
5090
|
if (clientMode === "auto" && !resolvedIndexPath) {
|
|
5088
5091
|
throw new Error('handleVuePageRequest: `indexPath` is required when `client` is `"auto"` (the default). Pass `client: "none"` to ship a SSR-only page with no client bundle.');
|
|
5089
5092
|
}
|
|
@@ -5660,5 +5663,5 @@ export {
|
|
|
5660
5663
|
Image
|
|
5661
5664
|
};
|
|
5662
5665
|
|
|
5663
|
-
//# debugId=
|
|
5666
|
+
//# debugId=32ED28979E26F72664756E2164756E21
|
|
5664
5667
|
//# sourceMappingURL=index.js.map
|