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 · Oct 17, 2026

@solidjs/vite-plugin has 103,078 recorded weekly downloads on npm, an increase of 147% over the past 30 days.

It ranks #447 of 2,256 tracked npm listings by weekly downloads.

PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.

Weekly downloads
103,078
Official API · Oct 17, 2026
7-day growth
-0.5%
-559 weekly downloads
30-day growth
+147%
+61.3K weekly downloads
90-day growth
—
Insufficient history
Rank
#447
Among tracked npm listings

About @solidjs/vite-plugin

⚡ @solidjs/vite-plugin

Renamed from vite-plugin-solid. This package was previously published as vite-plugin-solid. To migrate, swap the dependency and the import — npm install -D @solidjs/vite-plugin and import solid from '@solidjs/vite-plugin' — nothing else changes.

A simple integration to run solid-js with vite

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

You can use the vite-template-solid starter templates similar to CRA:

Installation

Install vite, @solidjs/vite-plugin as dev dependencies.

Install solid-js as dependency.

You have to install those so that you are in control to which solid version is used to compile your code.

Add it as plugin to vite.config.js

Run

Just use regular vite or vite build commands

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: true

Resolve Solid's development builds under vite dev — the development export condition of solid-js and @solidjs/web, which carry the extra checks, warnings and diagnostics. Has no effect on vite build. Set to false to serve the production builds in dev instead.

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 (, span.textContent, count) survive minification. Under vite dev the dev build still wins.

options.performanceTracks

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

Dev-serve only: paint Solid's records — effect and memo re-runs, interactions, holds, async flights, navigations, server-function calls — as custom tracks in the Chrome Performance panel, without the app calling enablePerformanceTracks() itself. Record a trace with the Performance panel while the dev server serves the page; the Solid group appears beside Chrome's main-thread and network tracks (Interactions, Propagation, Effects, Memos, Async, Holds, Navigations, Server), every span labelled by *why* it ran, findings as markers on the Timings track. See Chrome Performance panel in the Solid 2.0 diagnostics guide for how to read them.

The plugin injects a small client module that enables the tracks *ahead of the app's entry* — a tail.

middleware points at a server-only module default-exporting one middleware — (event, next) => Response | Promise, the request at event.request — or an array of them. The plugin composes the chain itself. next() takes no arguments: assign event.request = new Request(...) before calling it to hand a different request downstream (calling next(request), the previous shape, throws a migration error).

The page render runs inside next(), so per-request render inputs go on the event before that call. event.nonce is the CSP nonce (a string, or { script, style } with each a non-empty string or false). event.renderMode is 'stream' or 'async' for this request, overriding the static renderMode below. handleRequest(request, { nonce, renderMode }) is seeded onto the event before the chain and wins over a middleware write.

Generated entries pass event.nonce into renderToStream. An authored entry-server must forward the context.nonce the handler passes it (renderToStream(app, { manifest, nonce: context.nonce })).

The chain fronts every request the plugin dispatches — page SSR and the server-function endpoint, dev, production, and preview alike — and runs inside the request-event scope, so getRequestEvent() answers with the same event as the event argument (the endpoint shares it, so locals decoration is visible to server functions too). Nothing reaches the wire until the outermost middleware returns: headers stay mutable after next() even for streamed responses. In dev, writing event.nonce or event.renderMode after await next() warns: the render already read them.…

Description from the npm listing.

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

Charts

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

Adoption over time

@solidjs/vite-plugin weekly downloads on npm, last 90 days: 103,078 weekly downloads as of Oct 17, 2026.@solidjs/vite-pluginWeekly downloads on npm · Last 90 days103,078downloads / week020K40K60K80K100K120K140K160KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
@solidjs/vite-plugin weekly downloads on npm, last 90 days: 103,078 weekly downloads as of Oct 17, 2026.
PNG SVG

7/30/90-day growth

@solidjs/vite-plugin weekly downloads growth on npm: -0.5% over 7 days, +147% over 30 days, 90-day growth unavailable.@solidjs/vite-pluginWeekly downloads growth on npm103,078downloads / week now7-day growth-559 weekly downloads-0.5%30-day growth+61,301 weekly downloads+147%90-day growth+103,078 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@solidjs/vite-plugin weekly downloads growth on npm: -0.5% over 7 days, +147% over 30 days, 90-day growth unavailable.
PNG SVG

Ranking history

@solidjs/vite-plugin npm ranking history: currently #447 (by weekly downloads).@solidjs/vite-pluginnpm ranking · by weekly downloads · Last 90 days#447current rank#150#200#250#300#350#400#450Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 17, 2026 – Oct 19, 2026 · 3 observations · Updated Oct 17, 2026pluginstats.com
@solidjs/vite-plugin npm ranking history: currently #447 (by weekly downloads).
PNG SVG

Listing placement

All npm2,256 listings · 113 pages · 1,129 shown · page 23, #7 (overall #447)
All npm: every listing in weekly downloads order
PNG SVG

Listing placement

Vite plugins250 listings · 13 pages · page 4, #1 (overall #61)
Vite plugins: every listing in weekly downloads order
PNG SVG

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 log 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 (543)
Recent weekly downloads observations for @solidjs/vite-plugin
Date (UTC)Weekly downloadsChange vs. previous
103,078-25.5K
128,595+8.2K
120,410-12.2K
132,604-17.1K
149,7090
149,709+36.7K
113,029+9.4K
103,637+9.8K
93,849+4.7K
89,112+2.2K
86,920+5.4K
81,500-13.3K
94,758+3.1K
91,641—

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 Oct 19, 2026. See the methodology.