vite-plugin-dist-importer
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

Automatically import dist/server/ assets.

The import paths are statically analyzable, enabling bundlers to discover the entire dependency tree. (Which is needed for serverless services such as Cloudflare Workers, Vercel, etc.)

Supports Yarn PnP.

For more information, create a new GitHub ticket.

It's currently used by vite-plugin-ssr and Telefunc.

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i vite-plugin-dist-importer

    Weekly Downloads

    39

    Version

    0.3.2

    License

    MIT

    Unpacked Size

    13.6 kB

    Total Files

    14

    Last publish

    Collaborators

    • brillout