pub fn resolve_import_path(args: &ModeArgs) -> StringExpand description
Resolves the JS import path for HTML generation.
Computes the relative path from the serving root to the output directory,
then appends the JS filename (from resolve_out_name, which includes .js)
to form the full import path (e.g. ./pkg/euv.js or ./pksg/cc.js).
§Arguments
&ModeArgs- The CLI arguments containing crate_path, www_dir, wasm_pack_args.
§Returns
String- The resolved JS import path relative to the serving root.