pub async fn load_next_js_template_no_imports(
template_path: &str,
project_path: FileSystemPath,
replacements: &[(&str, &str)],
injections: &[(&str, &str)],
imports: &[(&str, Option<&str>)],
) -> Result<Vc<Box<dyn Source>>>Expand description
Loads a next.js template but does not require that any relative imports are present or rewritten. This is intended for small internal templates that do not have their own imports but still use template variables/injections.