mf-shared-deps
OfficialDebug Module Federation shared dependencies.
Software Engineering#webpack#module federation#build artifacts#dependency conflicts#micro-frontends#shared dependencies
Authormodule-federation
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps diagnose and resolve issues where shared dependencies in Module Federation setups are not being correctly shared, leading to duplicate library instances or runtime errors.
Core Features & Use Cases
- Conflict Detection: Identifies conflicts between
sharedandexternalsconfigurations. - Transform Import Issues: Detects when UI libraries like Ant Design or Arco Design are shared but
transformImportis enabled, blocking proper sharing. - Version Mismatches: Flags instances where multiple versions of the same shared package are present in build artifacts.
- Use Case: When your host and remote applications load different versions of React, or when a shared component library fails to load due to sharing misconfiguration.
Quick Start
Run the mf-shared-deps skill with the project root as an argument to check for shared dependency conflicts.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mf-shared-deps Download link: https://github.com/module-federation/core/archive/main.zip#mf-shared-deps Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.