pub fn dev_url_from_line(line: &str) -> Option<Url>Expand description
Extract the loopback URL a bundler prints once its dev server is listening.
Any whitespace-separated token matching
https?://(localhost|127.0.0.1|\[::1\]):<port> counts — Vite’s
Local: http://localhost:5173/ is the canonical producer. The port must
be explicit and the host loopback; Network: URLs (LAN addresses) and
every other token on the line are ignored.