pub fn transpile_project(
config: &ProjectConfig,
) -> Result<ProjectResult, String>Expand description
Multi-file project transpilation: JS entry file → Zig project + cabi_exports.json.
The entry JS file and its transitive imports form a single project.
Does NOT run zig build (unless config.build.run_zig_build == true).
js_dir is the absolute path to the directory containing JS source files.
js_files are filenames relative to js_dir; the first entry is the
primary entry point whose stem becomes the project name.