Skip to content
PluginStats

@module-federation/vite weekly downloads statistics

By module-federation · npm · Vite plugins

Vite plugin for Module Federation

View on npm Fresh · Dec 6, 2026

@module-federation/vite has 2,138,091 recorded weekly downloads on npm, an increase of 14.3% over the past 30 days, ranking #222 of 3,247 tracked listings.

Weekly downloads
2,138,091
Official API · Dec 5, 2026
7-day growth
+17.2%
+313.9K weekly downloads
30-day growth
+14.3%
+268.2K weekly downloads
90-day growth
+160%
+1.3M weekly downloads
Rank
#222
▲ 3 in 7 days

About @module-federation/vite

Vite plugin for Module Federation

npm

Vite and VoidZero recommend this plugin

Read the announcement.

<br /> <a href="https://github.com/sponsors/gioboa"> <img src="./docs/sponsors.png" alt="Sponsors" width="677" /> </a>

Become a sponsor

Support this project on GitHub Sponsors

Reason why 🤔

Microservices nowadays is a well-known concept and maybe you are using it in your current company. Do you know that now you can apply similar ideas on the Frontend? With Module Federation you can load separately compiled and deployed code into a unique application. This plugin makes Module Federation work together with Vite.

Working implementations

Examples live in gioboa/module-federation-vite-examples:

ExampleHostRemoteFramework
Alpinealpine-hostalpine-remoteAlpine.js
Angularangular-hostangular-remoteAngular
Astroastro-hostastro-remoteAstro 7
Emberember-hostember-remoteEmber 7
Litlit-hostlit-remoteLit
Nuxtnuxt-hostnuxt-remoteNuxt 4
NxhostremoteReact + Nx
Preactpreact-hostpreact-remotePreact 10
Reactreact-hostreact-remoteReact 19
Solidsolid-hostsolid-remoteSolid
Sveltesvelte-hostsvelte-remoteSvelte 5
TanStacktanstack-hosttanstack-remoteTanStack Router + React 19
TurborepohostremoteReact + Turborepo
Vinextvinext-hostvinext-remoteVinext + Next 16 + React 19
Vuevue-hostvue-remoteVue 3

Try this crazy example with all these bundlers together

<img src="./docs/multi-example.png"/> <p float="left"> <img src="./docs/vite.webp" width="150" /> <img src="./docs/webpack.webp" width="160" /> <img src="./docs/rspack.webp" width="200" /> </p>
pnpm install
pnpm run build
pnpm run multi-example

Getting started 🚀

https://module-federation.io/integrations/build-tool/vite

With @module-federation/vite, the process becomes delightfully simple, you will only find the differences from a normal Vite configuration.

This example is with Vue.js</br> The @module-federation/vite configuration remains the same for different frameworks.

Migrating from OriginJS

Migrating from @originjs/vite-plugin-federation requires an explicit remote-entry format and runtime review, particularly for dynamic remotes, shared dependencies, and mixed bundlers. See the OriginJS migration guide for step-by-step migration and incremental deployment guidance.

Dedicated configuration file

You can keep Module Federation options in module-federation.config.ts.

import { createModuleFederationConfig } from "@module-federation/vite";

export default createModuleFederationConfig({
  name: "remote",
  filename: "remoteEntry.js",
  exposes: {
    "./remote-app": "./src/App.vue",
  },
  shared: ["vue"],
});
import { defineConfig } from "vite";
import { federation } from "@module-federation/vite";
import moduleFederationConfig from "./module-federation.config";

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

The Remote Application configuration

file: remote/vite.config.ts

import { defineConfig } from 'vite';
import { federation } from '@module-federation/vite'; 👈…

Description from the npm listing.

  • vite
  • vite-plugin
  • module federation
  • microfrontend

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

@module-federation/vite weekly downloads on npm, last 90 days: 2,138,091 weekly downloads as of Dec 5, 2026, +160% over 90 days.@module-federation/viteWeekly downloads on npm · Last 90 days2,138,091downloads / week+160% over 90 days0500K1M1.5M2M2.5MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@module-federation/vite weekly downloads on npm, last 90 days: 2,138,091 weekly downloads as of Dec 5, 2026, +160% over 90 days.

7/30/90-day growth

@module-federation/vite weekly downloads growth on npm: +17.2% over 7 days, +14.3% over 30 days, +160% over 90 days.@module-federation/viteWeekly downloads growth on npm2,138,091downloads / week now7-day growth+313,871 weekly downloads+17.2%30-day growth+268,235 weekly downloads+14.3%90-day growth+1,317,184 weekly downlo…+160%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@module-federation/vite weekly downloads growth on npm: +17.2% over 7 days, +14.3% over 30 days, +160% over 90 days.

Ranking history

@module-federation/vite npm ranking history: currently #222 (by weekly downloads).@module-federation/vitenpm ranking · by weekly downloads · Last 90 days#222current rank#210#215#220#225#230#235#240#245#250Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@module-federation/vite npm ranking history: currently #222 (by weekly downloads).

Listing placement

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

Listing placement

Vite plugins300 listings · 15 pages · page 2, #7 (overall #27)
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 (170)
Recent weekly downloads observations for @module-federation/vite
Date (UTC)Weekly downloadsChange vs. previous
2,138,091+40.5K
2,097,599+121.2K
1,976,408+101.8K
1,874,567+33.7K
1,840,891+27.7K
1,813,237-12K
1,825,264+1K
1,824,220-34.9K
1,859,084-66.8K
1,925,910-56.7K
1,982,649-27.5K
2,010,193-1.2K
2,011,426+27.2K
1,984,198—

Similar npm Vite plugins plugins

All 20 @module-federation/vite 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/@module-federation/vite. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.