You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DTS for exposed entries does not emit If we're using an alias in there entries
import*aspathfrom"node:path";import{ModuleFederationPlugin}from"@module-federation/enhanced";exportdefault{resolve: {alias: {foo: path.resolve(__dirname,'src/sub/foo')// here is an alias for foo}},plugins: [newModuleFederationPlugin({exposes: {'./foo': 'foo',// ❌ not working (no dts created for src/sub/foo), even if it's an existing alias// './foo': './src/sub/foo', // ✅ works fine'./bar': './src/bar'},})]}
Describe the bug
DTS for exposed entries does not emit If we're using an alias in there entries
Reproduction
https://github.com/smelukov/mf-dts-alias-bug/blob/main/webpack.config.ts#L16
Used Package Manager
npm
System Info
Validations
The text was updated successfully, but these errors were encountered: