ILibraryFileUrlResolver: (library: ILibraryName, filename: string) => string

This function returns the (relative) URL at which a file inside a library can be accessed. It is used when URLs of library files must be inserted (hard-coded) into data structures. The implementation must do this file -> URL resolution, as it decides where the files can be accessed.

Type declaration