Skip to content
PluginStats

@solidjs/vite-plugin weekly downloads statistics

By solidjs (3 listings) · npm · Vite plugins

solid-js integration plugin for Vite

View on npm Fresh · Dec 6, 2026

@solidjs/vite-plugin has 503,582 recorded weekly downloads on npm, an increase of 51.4% over the past 30 days, ranking #399 of 3,247 tracked listings.

Weekly downloads
503,582
Official API · Dec 5, 2026
7-day growth
+19.9%
+83.7K weekly downloads
30-day growth
+51.4%
+171K weekly downloads
90-day growth
+1076%
+460.8K weekly downloads
Rank
#399
▲ 8 in 7 days

About @solidjs/vite-plugin

<p> <img width="100%" src="https://assets.solidjs.com/banner?project=Vite%20Plugin&type=core&version=2.0" alt="Solid Vite Plugin"> </p>

⚡ @solidjs/vite-plugin

vite-plugin-solid has moved to @solidjs/vite-plugin. See Migrating from vite-plugin-solid.

A simple integration to run solid-js with vite

<img alt="HMR demonstration" src=".github/hmr.gif">

Got a question? / Need help?

Join solid discord and check the troubleshooting section to see if your question hasn't been already answered.

Features

  • HMR with no configuration needed
  • Drop-in installation as a vite plugin
  • Minimal bundle size
  • Support typescript (.tsx) out of the box
  • Experimental TypeScript TSRX (.tsrx) support out of the box
  • Support code splitting out of the box

Requirements

This module is 100% ESM compatible and requires Node.js >=22.12.0 (the same floor as the solid-js 2.0 runtime packages).

You can check your current Node.js version by running node -v. Use a version manager such as Volta or nvm to update it.

Supported Vite versions: Vite 8 and 9.

Quickstart

Start from one of the Solid 2 templates:

$ npx degit solidjs/templates/solid-v2/basic my-solid-project
$ cd my-solid-project
$ npm install # or pnpm install or yarn install
$ npm run dev # starts the dev server with hot module replacement
$ npm run build # builds to /dist

solid-v2/bare is the minimal starting point, and solid-v2/fullstack adds streaming SSR, middleware and server functions.

Installation

Install vite and @solidjs/vite-plugin as dev dependencies, and Solid's runtime, solid-js and @solidjs/web, as dependencies. Both runtime packages are peer dependencies of the plugin, so you control which Solid version your code is compiled against.

# with npm
$ npm install -D vite @solidjs/vite-plugin
$ npm install solid-js @solidjs/web

# with pnpm
$ pnpm add -D vite @solidjs/vite-plugin
$ pnpm add solid-js @solidjs/web

# with yarn
$ yarn add -D vite @solidjs/vite-plugin
$ yarn add solid-js @solidjs/web

Add it as plugin to vite.config.js

// vite.config.ts
import { defineConfig } from 'vite';
import solidPlugin from '@solidjs/vite-plugin';

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

Run

Just use regular vite or vite build commands

{
  "scripts": {
    "dev": "vite",
    "build": "vite build"
  }
}

API

options
  • Type: Object
  • Default: {}
options.include
  • Type: (string | RegExp)[] | string | RegExp | null
  • Default: undefined

A picomatch pattern, or array of patterns, which specifies the files the plugin should operate on.

options.exclude
  • Type: (string | RegExp)[] | string | RegExp | null
  • Default: undefined

A picomatch pattern, or array of patterns, which specifies the files to be ignored by the plugin.

options.dev
  • Type: Boolean
  • Default: undefined (development builds under vite dev, production builds otherwise)

Use Solid's development builds: the development export condition of solid-js and @solidjs/web, which carry the extra checks, warnings and diagnostics, plus the compiler's dev output. Left unset, they are used under vite dev (and vitest) only. true forces them in vite build too, for example to debug a production bundle with the dev warnings on. false serves the production builds under vite dev as well; HMR then falls back to full reloads, since the production refresh runtime is an inert stub.

options.observe
  • Type: Boolean
  • Default: false

Resolve Solid's observe builds in production: the production-speed runtime that keeps the diagnostics and attribution channels (OBSERVE) alive for observability tooling (error monitoring, performance tracing). Adds the observe export condition to every environment and turns on the compiler's source names (see options.solid.sourceNames), so graph labels (<Home>, span.textContent, count) survive minification. Under vite dev the dev build still wins.

options.diagnostics
  • Type: Boolean
  • Default: undefined (on when the app declares @solidjs/diagnostics)

Dev-serve only: expose Solid's diagnostic and attribution channels to out-of-process consumers (agents, tests, curl). The plugin injects a client module that installs the in-page bridge from the app's own @solidjs/diagnostics, and serves a /__solid/diagnostics endpoint on the dev server: GET reports status, and POST { method, params } forwards capture control (begin/end), whyDidRun and cost queries to the page over the Vite WebSocket. The dev server prints the endpoint at startup.

Left unset, it turns on when the nearest package.json declares @solidjs/diagnostics, so adding the dev dependency is the whole setup. true forces it on (and errors if the package is missing), false opts out. Never active on vite build, preview or in test mode, and off with dev: false unless observe is on, since the channels only exist in the dev and observe builds.

options.performanceTracks
  • Type: boolean | PerformanceTracksOptions (from @solidjs/web/performance-tracks)
  • Default: true…

Description from the npm listing.

  • vite
  • vite plugin
  • vitejs
  • vitejs plugin
  • vite-plugin
  • solid

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@solidjs/vite-plugin weekly downloads on npm, last 90 days: 503,582 weekly downloads as of Dec 5, 2026, +1076% over 90 days.@solidjs/vite-pluginWeekly downloads on npm · Last 90 days503,582downloads / week+1076% over 90 days0100K200K300K400K500K600KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@solidjs/vite-plugin weekly downloads on npm, last 90 days: 503,582 weekly downloads as of Dec 5, 2026, +1076% over 90 days.

7/30/90-day growth

@solidjs/vite-plugin weekly downloads growth on npm: +19.9% over 7 days, +51.4% over 30 days, +1076% over 90 days.@solidjs/vite-pluginWeekly downloads growth on npm503,582downloads / week now7-day growth+83,677 weekly downloads+19.9%30-day growth+171,009 weekly downloads+51.4%90-day growth+460,778 weekly downloads+1076%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@solidjs/vite-plugin weekly downloads growth on npm: +19.9% over 7 days, +51.4% over 30 days, +1076% over 90 days.

Ranking history

@solidjs/vite-plugin npm ranking history: currently #399 (by weekly downloads).@solidjs/vite-pluginnpm ranking · by weekly downloads · Last 90 days#399current rank#150#200#250#300#350#400#450#500#550Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@solidjs/vite-plugin npm ranking history: currently #399 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 20, #19 (overall #399)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins300 listings · 15 pages · page 3, #15 (overall #55)
Vite plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for @solidjs/vite-plugin
Date (UTC)Weekly downloadsChange vs. previous
503,582+9.9K
493,710+9.9K
483,824+20.8K
462,998+2.8K
460,206+14K
446,232+18.7K
427,542+7.6K
419,905-2.3K
422,201+17.9K
404,328+9K
395,328+25.3K
369,995+21.8K
348,188+5.6K
342,621—

Similar npm Vite plugins plugins

All 20 @solidjs/vite-plugin alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@solidjs/vite-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.