next.js / crates /napi /src /turbo_trace_server.rs
AbdulElahGwaith's picture
Upload folder using huggingface_hub
b91e262 verified
use std::path::PathBuf;
use napi_derive::napi;
#[napi]
pub fn start_turbopack_trace_server(path: String, port: Option<u16>) {
let path_buf = PathBuf::from(path);
turbopack_trace_server::start_turbopack_trace_server(path_buf, port);
}