1 | import { Config } from './config';
|
2 | import { StaticFilesMap } from './buildStaticFiles';
|
3 | export declare type ManifestDynamicFile = {
|
4 | type: 'dynamic';
|
5 | src: string;
|
6 | dest: string;
|
7 | route: string;
|
8 | };
|
9 | export declare type ManifestStaticFile = {
|
10 | type: 'static';
|
11 | src: string;
|
12 | dest: string;
|
13 | };
|
14 | export declare type ManifestFile = ManifestDynamicFile | ManifestStaticFile;
|
15 | export declare type Manifest = {
|
16 | files: ManifestFile[];
|
17 | };
|
18 | export declare function staticFilesMapToManifestFiles(staticFilesMap: StaticFilesMap): ManifestStaticFile[];
|
19 | export declare function getDynamicFilesFromManifest(manifest: Manifest): ManifestDynamicFile[];
|
20 | export declare function getStaticFilesFromManifest(manifest: Manifest): ManifestStaticFile[];
|
21 | export declare function writeManifest(manifest: Manifest, config: Config): void;
|