pub async fn load_next_js_template(
path: &str,
project_path: Vc<FileSystemPath>,
replacements: FxIndexMap<&'static str, RcStr>,
injections: FxIndexMap<&'static str, RcStr>,
imports: FxIndexMap<&'static str, Option<RcStr>>,
) -> Result<Vc<Box<dyn Source>>>
Expand description
Loads a next.js template, replaces replacements
and injections
and makes
sure there are none left over.