vite-plugin-rnw weekly downloads statistics
By dannyhw · npm · Vite plugins
Vite plugin for React Native Web
vite-plugin-rnw has 158,216 recorded weekly downloads on npm, a decrease of 45.5% over the past 30 days, ranking #423 of 2,322 tracked listings.
About vite-plugin-rnw
vite-plugin-rnw
A vite plugin for React Native Web projects.
This plugin uses the react plugin internally and applies a lot of fixes for react native web on top.
// vite.config.js
import { defineConfig } from "vite";
import { rnw } from "vite-plugin-rnw";
export default defineConfig({
plugins: [rnw()],
});
Options
include/exclude
Includes .js, .jsx, .ts & .tsx by default. This option can be used to add fast refresh to other files:
import { defineConfig } from "vite";
import { rnw } from "vite-plugin-rnw";
export default defineConfig({
plugins: [rnw({ include: /\.(js|jsx|ts|tsx)$/ })],
});
node_modules can be processed by this plugin when needed
By default the excludes pattern is:
/\/node_modules\/(?!react-native|@react-native|expo|@expo)/;
This means any package that starts with react-native, @react-native, expo, or @expo will be included and other node_modules will be excluded. But you can change this to include or exclude any package you want.
jsxImportSource
Control where the JSX factory is imported from. Default to 'react'
rnw({ jsxImportSource: "nativewind" });
babel
The babel option lets you add plugins, presets, and other configuration to the Babel transformation performed on each included file.
rnw({
babel: {
presets: [...],
// Your plugins run before any built-in transform (eg: Fast Refresh)
plugins: [...],
// Use .babelrc files
babelrc: true,
// Use babel.config.js files
configFile: true,
}
})
Description from the npm listing.
- vite
- vite-plugin
- react-native-web
- react-native
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (122)Similar npm Vite plugins plugins
All 20 vite-plugin-rnw alternativesData 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/vite-plugin-rnw. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.