Package: wnpp Severity: wishlist * Package name : node-vite Version : 6.x Upstream Author : Evan You and Vite contributors * URL : https://vite.dev/ * License : MIT Programming Lang: TypeScript, JavaScript Description : Next Generation Frontend Tooling
Vite is a modern frontend build tool that provides a faster and leaner development experience for modern web projects. It consists of a dev server that provides rich feature enhancements over native ES modules, and a build command that bundles the code with Rollup/Rolldown, pre-configured to output highly optimized static assets for production. This package is needed because its absence is currently blocking the update of Prometheus (see Bug #1083100). Starting with Prometheus 3.0, upstream has completely rewritten the web UI in React and now relies on Vite 6.x as its sole build system. In older versions of Vite (like Vite 5), the bundler relied heavily on esbuild and rollup. Since both of these tools are already available in Debian, we might have been able to build the modern UI natively by leveraging them alongside a vendored Vite. However, Vite 6 introduces a hard runtime dependency on rolldown, a Rust-based bundler that is currently not packaged in Debian. Given that Debian policy strictly prohibits the inclusion of pre-compiled binaries in source packages (DFSG), we cannot simply vendor Vite and its rolldown binary blobs from NPM. Building the modern Prometheus web UI from source natively in Debian is effectively impossible until both node-vite and rust-rolldown are properly packaged. For the time being, we are forced to disable the modern UI in the Debian prometheus package entirely. Any help from the JS and Rust teams in getting this toolchain packaged would be greatly appreciated.

