npm / @module-federation/vite
@module-federation/vite
What changed in @module-federation/vite 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-01.
3 performance1 behavior and defaults34 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@module-federation/vite 138 changes
Performance 3
Speeds up parsing and scanning constructs.
Indexes pnpm store package lookups.
Peer singleton graph lookups are memoised.
Behavior and default changes 1
A remote registered by the app can replace the configured entry in SSR.
Fixes and other changes 34
The filename is no longer included in the federation scope key.
Local shares are materialized after the shares they import.
Remote imports dropped by TypeScript are skipped when collecting remote dependencies.
Workspace shares now honor resolve.conditions.
The SSR remote entry imports the host bootstrap from the building environment.
Wildcard shared subpaths are resolved for SSR.
Registration is guarded against global collisions.
Builds for Vite's default browser targets.
Failed CSS assets are retried correctly.
Skips the scan when no remotes are configured.
Advertises getPublicPath in the dev manifest.
Seeds host-init preloads from the app entry chunk rather than any chunk named index.
Shares host React in dev SSR.
Initializes the host runtime for plain runtime API calls.
Continues rewriting HTML assets after a .html chunk.
Waits for a lazy chunk's static remotes before its import() resolves.
Retries failed deferred remote loads.
Stops the expose remote scan at local import() boundaries.
Supports named-only JSX runtime providers.
Resets the remote reconnect budget after a successful connection.
Preserves shared exports after nested templates and regex literals.
Preserves shared imports from unshared subpaths of the same package.
Resolves shared packages from the running server output instead of build-machine paths.
Detects the active Start plugin for nested Vite roots.
Shares compatible non-singleton versions.
The idle timer is armed on load.
Lazy shared CommonJS exports are live.
Local module/exports bindings are ignored in ESM shared entries.
Optional peers are seeded before consumers.
Path-derived shared entries are matched by reversing the package's exports.
Shared lookup markers no longer leak.
Its state is shared across bundled module copies so revalidate() reaches the runtime plugin's caches.
Named-exports rewriting is skipped for stubbed remotes.
Derived wildcard-subpath shares are confirmed before being treated as shared.