Idea for emp-tune-dts-plugin #79
kevinschaffter
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for making
emp-tune-dts-plugin
so far I think it is the best solution for combining module federation + TypeScript.I am running into an issue where even though I can import types from a remote, not all of those modules are in the webpack module federation
shared
property.For example my federated remote has:
In the host after emp sync there are no TS errors but the app crashes because its not "exposed":
Is there a way to modify your plugin to only create
d.ts
for modules that are actually shared?Beta Was this translation helpful? Give feedback.
All reactions