[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1112026: ITP: node-rollup-plugin-dynamic-import-vars -- node-rollup plugin to support variables in dynamic imports



On 8/25/25 12:43, Ananthu C V wrote:
Hi Yadd,

Is it even viable to package vite? I once looked at it for packaging it, but the dependency tree looked monstrous and endless, and the packageable ones were all last touched so many years ago. If it's still like that, it's going to be a maintenance hell.


On 25 August 2025 09:45:18 UTC, Yadd <yadd@debian.org> wrote:

    Package: wnpp
    Severity: wishlist
    Owner: Yadd <yadd@debian.org>
    X-Debbugs-Cc: debian-devel@lists.debian.org, yadd@debian.org

    * Package name : node-rollup-plugin-dynamic-import-vars
    Version : 2.1.5
    Upstream Contact: RollupJS Plugin Contributors <https://github.com/
    rollup/plugins/issues/new <https://github.com/rollup/plugins/issues/
    new>>
    * URL : https://github.com/rollup/plugins <https://github.com/
    rollup/plugins>
    * License : Expat
    Programming Lang: JavaScript
    Description : node-rollup plugin to support variables in dynamic imports

    node-rollup-plugin-dynamic-import-vars is a node-rollup plugin to
    support
    variables in dynamic imports.

    It is needed to build node-vite, another framework to build/test Node.js
    packages.

    This package will be maintained under JS Team umbrella.

--
Best,
Ananthu

Hi,

Not so difficult:

$ pkgjs-depends vite
# vite@7.1.3
# 16 missing npm module(s)
DEPENDENCIES:
  esbuild (esbuild)
  node-anymatch (picomatch)
  node-chokidar (chokidar)
  node-immutable (immutable)
  node-inquirer (rxjs)
  node-less (less)
  node-postcss (postcss, source-map-js)
  node-pre-gyp (detect-libc)
  node-stylus (stylus)
  node-supports-color (supports-color)
  node-terser (terser)
  node-yaml (yaml)
  nodejs (@types/node)
  rollup (rollup)

MISSING:
vite@7.1.3
 └── fdir (6.5.0)
 └── tinyglobby (0.2.14)
     └── (^) fdir (6.5.0)
 └── jiti (2.5.1)
 └── lightningcss (1.30.1)
 └── sass (1.90.0)
 └── sass-embedded (1.90.0)
     └── @bufbuild/protobuf (2.7.0)
     └── buffer-builder (0.2.0)
     └── colorjs.io (0.5.2)
     └── sync-child-process (1.0.2)
         └── sync-message-port (1.1.3)
     └── varint (6.0.0)
 └── sugarss (5.0.1)
 └── tsx (4.20.5)
     └── get-tsconfig (4.10.1)
         └── resolve-pkg-maps (1.0.0)

Notes:
- we need tsx (lot of package are using it now).
  node-rollup-plugin-dynamic-import-vars is needed for this
- saas is also widely used
  (for now we have node-node-saas, not node-saas)


Reply to: