# originjs/vite-plugin-federation

Module Federation for vite & rollup

Repository: https://github.com/originjs/vite-plugin-federation
Canonical: https://ross.abutalabs.com/products/vite-plugin-federation
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: rollup, vite, vue, microfront-end
Last push: 2025-05-17T02:34:40+00:00

## Health v2 (maintenance only)
Score: 43/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 21, release rhythm 40, longevity 100
- inputs: {"age_days": 1856, "days_push": 474, "days_rel": 508, "gap_med": 27, "n_releases_24m": 6}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3044, forks 294 (observed 2026-08-28T04:07:39.435599+00:00)

## What it is
A Vite and Rollup plugin that implements Module Federation, allowing multiple frontend applications to share code and modules at runtime. It is inspired by and compatible with Webpack Module Federation.

## Use cases
- share components between multiple frontend apps at runtime
- build a micro-frontend architecture with Vite
- load remote modules from another app in a Vite project
- share dependencies like Vue across separate builds
- migrate Webpack Module Federation to Vite or Rollup
- expose modules from a remote app to a host app

## When to choose
- you use Vite or Rollup and want Webpack-compatible Module Federation
- you are splitting a monolithic frontend into micro-frontends
- you need runtime code sharing between independently deployed frontend apps

## When to avoid
- you are using Webpack, which has built-in Module Federation
- you only need simple static code sharing via npm packages
- you need a framework-agnostic micro-frontend runtime beyond Vite/Rollup

## Facets
- artifact type: plugin
- maturity: active
- function: build-tool, microservices, plugin-system
- domain: frontend, web-development, developer-tools
- platform: cli
- tags: vite, rollup, module-federation, micro-frontend, typescript, nodejs, web-server

## Member repositories
- originjs/vite-plugin-federation (main) score 43

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:39.435599+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:46:50.523499+00:00, confidence not recorded.
  - readme: https://github.com/originjs/vite-plugin-federation (fetched 2026-08-28T04:07:39.435599+00:00, sha 6643716a4dd7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
