File: {
    gzip?: boolean;
    path: string;
    type?: string;
}

A service file asset.

Type declaration

  • Optional gzip?: boolean

    If set to true the file will be served with gzip-encoding if supported by the client. This can be useful when serving text files like client-side JavaScript, CSS or HTML.

  • path: string

    Relative path of the file or folder within the service.

  • Optional type?: string

    The MIME content type of the file. Defaults to an intelligent guess based on the filename's extension.

Generated using TypeDoc