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
but only the dist folder is published to npm (per "files": ["dist"]), so the index.ts file doesn't exist in the installed package. When Vite tries to resolve the package in development mode, it just fails with: Error: Failed to resolve entry for package "openworkflow" ...
Solution:
Either remove the "development" export condition from both packages, or include the source files in the published packages.
Workaround:
I currently have a janky postinstall script that removes the development export to make it work :) Wanted to open an issue before submitting a PR.