@absolutejs/absolute 0.19.0-beta.1126 → 0.19.0-beta.1127
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/README.md +20 -0
- package/dist/angular/browser.js +3 -3
- package/dist/angular/browser.js.map +3 -3
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +3 -3
- package/dist/build.js.map +3 -3
- package/dist/cli/index.js +150 -85
- package/dist/index.js +4 -4
- package/dist/index.js.map +4 -4
- package/dist/src/cli/scripts/start.d.ts +6 -1
- package/dist/src/utils/imageProcessing.d.ts +1 -1
- package/dist/types/image.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
type StartOptions = {
|
|
2
|
+
prebuilt?: boolean;
|
|
3
|
+
prepareOnly?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const start: (serverEntry: string, outdir?: string, configPath?: string, options?: StartOptions) => Promise<void>;
|
|
6
|
+
export {};
|
|
@@ -19,7 +19,7 @@ export declare const generateSrcSet: (src: string, width: number | undefined, si
|
|
|
19
19
|
width: number;
|
|
20
20
|
}) => string) => string;
|
|
21
21
|
export declare const getAllSizes: (config?: ImageConfig) => number[];
|
|
22
|
-
export declare const getCacheDir: (buildDir: string) => string;
|
|
22
|
+
export declare const getCacheDir: (buildDir: string, cacheDirectory?: string) => string;
|
|
23
23
|
export declare const getCacheKey: (url: string, width: number, quality: number, format: string) => string;
|
|
24
24
|
export declare const isCacheStale: (meta: CacheMeta) => boolean;
|
|
25
25
|
export declare const matchRemotePattern: (urlString: string, patterns: RemotePattern[]) => boolean;
|
package/dist/types/image.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export type ImageLoaderParams = {
|
|
|
12
12
|
};
|
|
13
13
|
export type ImageLoader = (params: ImageLoaderParams) => string;
|
|
14
14
|
export type ImageConfig = {
|
|
15
|
+
/** Writable runtime cache directory. Defaults to `<buildDirectory>/.cache/images`. */
|
|
16
|
+
cacheDirectory?: string;
|
|
15
17
|
/** Breakpoints for device-width responsive images (default: [640, 750, 828, 1080, 1200, 1920, 2048, 3840]) */
|
|
16
18
|
deviceSizes?: number[];
|
|
17
19
|
/** Breakpoints for fixed-width images (default: [16, 32, 48, 64, 96, 128, 256, 384]) */
|