Skip to content

files

ts
function Sources.files(path: string[], options?: {
    alias?: string
    type?: boolean
}): Promise<Source[]>

Like Source.file, but acts upon a list of paths.

Additionally modules that could not be resolved are removed from the result.