core icon indicating copy to clipboard operation
core copied to clipboard

@module-federation/enhanced v0.3.1 includes reference to missing module in .d.ts file

Open mtlewis opened this issue 7 months ago • 0 comments

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

mtlewis avatar Jul 26 '24 18:07 mtlewis