Function static_files::npm_resource_dir[][src]

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

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

Resources collected in node_modules subdirectory.