[][src]Function actix_web_static_files::npm_resource_dir

pub fn npm_resource_dir<P: AsRef<Path>>(resource_dir: P) -> Result<ResourceDir>

Generate resources with run of npm install prior to collecting resources in resource_dir.

Resources collected in node_modules subdirectory.