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
The key is the renaming src/rsc/test.ts → src/rsc/index.ts. The build output should stay the same in this example, but as you see in the commit, the main dist files are overwritten.
It seems like the usage of index.ts somehow breaks the output?
The text was updated successfully, but these errors were encountered:
Hey, me again with a rather special bug report regarding export conditions! :)
I noticed that under a certain condition, the
react-server
export condition overwrites the the main dist files.Here's a reproduction: amannn/bunchee-test@81357ab
The key is the renaming
src/rsc/test.ts
→src/rsc/index.ts
. The build output should stay the same in this example, but as you see in the commit, the main dist files are overwritten.It seems like the usage of
index.ts
somehow breaks the output?The text was updated successfully, but these errors were encountered: