pub fn strip_project_to_js_mapped(
out: ProjectOutput,
only: &HashSet<PathBuf>,
) -> Result<(ProjectOutput, JsMaps), StripError>Expand description
strip_project_to_js that also returns, per emitted .js path, a
Bynk-to-JavaScript v3 source map composed from the emitter’s own
Bynk-to-TypeScript map and the strip’s TypeScript-to-JavaScript map (#2705).
Only the modules in only (JS output paths; the host passes the user’s own)
are mapped, so the rest skip the work. The returned ProjectOutput is identical to
strip_project_to_js’s: the maps are not added as documents.