Bug#1141546: ITP: node-rollup-plugin-virtual -- Rollup plugin to load virtual modules from memory

Juan Manuel Mendez Rey <[email protected]> Mon, 06 Jul 2026 03:11:08 +0000
Newsgroups gmane.linux.debian.devel.general
Message-ID <itp-nrpv-20260706051105__42976.7859912076$1783307616$gmane$org@proton.me>
Package: wnpp
Severity: wishlist
Owner: Juan Manuel Mendez Rey <[email protected]>
X-Debbugs-Cc: [email protected], Juan Manuel Mendez Rey <[email protected]>, Edward Betts <[email protected]>

* Package name    : node-rollup-plugin-virtual
  Version         : 3.0.2
  Upstream Author : Rich Harris and the RollupJS Plugin Contributors
* URL             : https://github.com/rollup/plugins/tree/master/packages/virtual
* License         : Expat
  Programming Lang: JavaScript, TypeScript
  Description     : Rollup plugin to load virtual modules from memory

 @rollup/plugin-virtual is a Rollup plugin, maintained in the rollup/plugins
 monorepo, that serves modules from an in-memory map rather than from disk. It
 lets a build inject a synthetic entry point or stub a module without writing a
 temporary file into the source tree. It has no runtime dependencies.
 .
 I intend to maintain this package with the Debian JavaScript Maintainers team.
 It is needed to build the node-lit package (and therefore siso,
 https://bugs.debian.org/1051557) reproducibly from source: upstream Lit uses
 this plugin to seed the terser name cache, which is what makes its minified
 output deterministic. Without the plugin packaged, node-lit carries a small
 inlined copy of it; packaging the plugin lets node-lit drop that local code and
 build with upstream's own Rollup configuration.