interface Metafile {
    inputs: {
        [path: string]: {
            bytes: number;
            format?: "cjs" | "esm";
            imports: {
                external?: boolean;
                kind: ImportKind;
                original?: string;
                path: string;
                with?: Record<string, string>;
            }[];
            with?: Record<string, string>;
        };
    };
    outputs: {
        [path: string]: {
            bytes: number;
            cssBundle?: string;
            entryPoint?: string;
            exports: string[];
            imports: {
                external?: boolean;
                kind: ImportKind | "file-loader";
                path: string;
            }[];
            inputs: {
                [path: string]: {
                    bytesInOutput: number;
                };
            };
        };
    };
}

Properties

Properties

inputs: {
    [path: string]: {
        bytes: number;
        format?: "cjs" | "esm";
        imports: {
            external?: boolean;
            kind: ImportKind;
            original?: string;
            path: string;
            with?: Record<string, string>;
        }[];
        with?: Record<string, string>;
    };
}

Type declaration

  • [path: string]: {
        bytes: number;
        format?: "cjs" | "esm";
        imports: {
            external?: boolean;
            kind: ImportKind;
            original?: string;
            path: string;
            with?: Record<string, string>;
        }[];
        with?: Record<string, string>;
    }
    • bytes: number
    • Optional format?: "cjs" | "esm"
    • imports: {
          external?: boolean;
          kind: ImportKind;
          original?: string;
          path: string;
          with?: Record<string, string>;
      }[]
    • Optional with?: Record<string, string>
outputs: {
    [path: string]: {
        bytes: number;
        cssBundle?: string;
        entryPoint?: string;
        exports: string[];
        imports: {
            external?: boolean;
            kind: ImportKind | "file-loader";
            path: string;
        }[];
        inputs: {
            [path: string]: {
                bytesInOutput: number;
            };
        };
    };
}

Type declaration

  • [path: string]: {
        bytes: number;
        cssBundle?: string;
        entryPoint?: string;
        exports: string[];
        imports: {
            external?: boolean;
            kind: ImportKind | "file-loader";
            path: string;
        }[];
        inputs: {
            [path: string]: {
                bytesInOutput: number;
            };
        };
    }
    • bytes: number
    • Optional cssBundle?: string
    • Optional entryPoint?: string
    • exports: string[]
    • imports: {
          external?: boolean;
          kind: ImportKind | "file-loader";
          path: string;
      }[]
    • inputs: {
          [path: string]: {
              bytesInOutput: number;
          };
      }
      • [path: string]: {
            bytesInOutput: number;
        }
        • bytesInOutput: number