Function runtime_import_for
pub fn runtime_import_for(from_source: &Path, ext: ImportExt) -> StringExpand description
Compute the runtime import specifier for a module at from_source. For a
file at commerce/payment.ts the runtime sits two levels up, so this
returns ../runtime.js; for a top-level file it returns ./runtime.js.