pub fn ts_specifier(p: &Path) -> StringExpand description
Render a path as a TypeScript module specifier: always forward
slashes. Path::display() uses the platform separator, and on Windows
that emitted import ... from "./commerce\orders.js" — broken ESM
output, caught by the first CI matrix run on windows-latest.