module-federation-types

Community

Master TypeScript types in Module Federation, effortlessly.

Authorfkalinski
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Managing TypeScript types across dynamically loaded Module Federation remotes is a significant challenge, leading to type errors, poor developer experience, and runtime issues. This Skill provides clear strategies and troubleshooting steps to ensure type safety and seamless integration across your federated modules.

Core Features & Use Cases

  • Type Sharing Strategies: Guides on inlined types, shared type packages, and type stubs for different scenarios.
  • Webpack Configuration for Types: Learn to configure Webpack for type generation and consumption, including when to disable it for production.
  • Use Case: When you encounter a "Cannot find module 'remote/Module'" error in your federated setup, activate this Skill to quickly find the solution for adding type stubs or configuring your tsconfig.json.

Quick Start

Use the module-federation-types skill to understand how to share types between federated modules.

Dependency Matrix

Required Modules

typescriptwebpack

Components

Standard package

💻 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: module-federation-types
Download link: https://github.com/fkalinski/modular-react/archive/main.zip#module-federation-types

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository