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
When using files that contain two dots in their filenames (e.g., bar.component.tsx) in the exposes configuration, the remote module is ignored. This results in the exposed module not being included in the generated declarations and failing to work in the consumer when imported.
The text was updated successfully, but these errors were encountered:
artieeez
changed the title
Cannot use files with two dots in their names in remote exposes
Cannot use files with multiple dots in their names in remote exposes
Sep 16, 2024
Describe the bug
When using files that contain two dots in their filenames (e.g., bar.component.tsx) in the exposes configuration, the remote module is ignored. This results in the exposed module not being included in the generated declarations and failing to work in the consumer when imported.
exposes: { './foo': './src/components/foo.tsx', './bar': './src/components/bar.component.tsx' }
In this scenario:
There are no errors thrown in the producer during the build process. However, you can confirm the issue by:
Reproduction
https://github.com/artieeez/rsbuild-module-federation-issue
Used Package Manager
npm
System Info
Validations
The text was updated successfully, but these errors were encountered: