core
core copied to clipboard
@module-federation/enhanced v0.3.1 includes reference to missing module in .d.ts file
Describe the bug
The .d.ts file generated for @module-federation/enhanced includes a reference to packages/manifest/dist/src
, which is not available. This causes compilation errors when checking types for dependencies.
To reproduce using the minimal repro below:
- Clone the repro
- Run
yarn install
- Run
yarn tsc
Reproduction
https://github.com/mtlewis/module-federation-enhanced-ts-repro
Used Package Manager
npm
System Info
System:
OS: macOS 14.5
CPU: (10) arm64 Apple M1 Max
Memory: 5.76 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.12.1
Yarn: 1.22.22
npm: 8.19.2
pnpm: 9.1.4
Browsers:
Chrome: 127.0.6533.72
Edge: 127.0.2651.74
Safari: 17.5
Validations
- [X] Read the docs.
- [X] Read the common issues list.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Make sure this is a Module federation issue and not a framework-specific issue.
- [X] The provided reproduction is a minimal reproducible example of the bug.