npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vizejs/unplugin

v0.327.0

Published

Experimental Vue SFC integrations for Rollup, Rolldown, Webpack, esbuild, and Babel powered by Vize

Readme

@vizejs/unplugin

Experimental unplugin-based Vue SFC integration powered by Vize.

[!WARNING] @vizejs/unplugin is still unstable. @vizejs/vite-plugin remains the recommended and best-tested bundler integration today.

@vizejs/unplugin provides experimental support for:

  • rollup
  • rolldown
  • webpack
  • esbuild
  • babel

Rspack intentionally uses the dedicated @vizejs/rspack-plugin path instead of an unplugin export because its loader chain, experiments.css, and HMR behavior need Rspack-specific handling.

Installation

Install vp once from the Vite+ install guide, then add the package:

vp install @vizejs/unplugin

Usage

rollup

import vize from "@vizejs/unplugin/rollup";

export default {
  plugins: [vize()],
};

webpack

import Vize from "@vizejs/unplugin/webpack";

export default {
  plugins: [Vize()],
};

Webpack 5 is detected through compiler.webpack. Webpack 4 is supported by resolving DefinePlugin from the host project's webpack package:

import Vize from "@vizejs/unplugin/webpack";

export default {
  plugins: [
    Vize({
      compatibility: {
        webpackVersion: 4,
      },
    }),
  ],
};

For Vue 0.11, Vue 1, Vue 2, or Nuxt 2 projects that already use the legacy Vue/Webpack compiler chain, keep Vize non-invasive and let the host compiler handle .vue files:

Vize({
  compatibility: {
    vueVersion: 2,
    webpackVersion: 4,
  },
});

rolldown

import vize from "@vizejs/unplugin/rolldown";

export default {
  plugins: [vize()],
};

esbuild

import { build } from "esbuild";
import vize from "@vizejs/unplugin/esbuild";

await build({
  entryPoints: ["src/main.ts"],
  bundle: true,
  plugins: [vize()],
});

babel

import vize from "@vizejs/unplugin/babel";

export default {
  plugins: [vize()],
};

The Babel adapter compiles .vue files before Babel parses them. Keep your usual Babel TypeScript/JSX transforms in the pipeline if your SFC scripts use those syntaxes.

Caveats

  • Vite is still the recommended integration if you need the most complete behavior today.
  • CSS Modules and preprocessors depend on the host bundler CSS pipeline and are more likely to change than the Vite path.
  • If your bundler inlines the Vue runtime, Vize injects the usual Vue 3 compile-time feature flags for Rollup-like and Webpack hosts when its compiler is active.
  • Test carefully before depending on this package in production.