Skip to main content

resolve_static_files

Function resolve_static_files 

Source
pub async fn resolve_static_files(
    context_dir: &Option<FileSystemPath>,
    path: ResolvedVc<Pattern>,
    collect_affecting_sources: bool,
) -> Result<Option<Vc<ResolveResult>>>
Expand description

Look for statically named files in the project root without expanding directories. The package-local reference is resolved separately with its entire original pattern.