Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should error on the duplicated entry #593

Closed
himself65 opened this issue Nov 7, 2024 · 1 comment · Fixed by #619
Closed

Should error on the duplicated entry #593

himself65 opened this issue Nov 7, 2024 · 1 comment · Fixed by #619
Labels
bug Something isn't working

Comments

@himself65
Copy link
Contributor

himself65 commented Nov 7, 2024

See: https://github.com/himself65/bunchee-issue-593

> @llamaindex/[email protected] build
> bunchee

Exports                     File                                          Size
.                           dist/index.cjs                                468 kB
                            dist/index.js                                 466 kB
                            dist/index.d.ts                               3.04 kB
                            dist/index.d.cts                              3.04 kB
. (browser)                 dist/index.browser.js                         479 kB
                            dist/index.browser.d.ts                       2.31 kB
. (edge-light)              dist/index.edge-light.js                      479 kB
                            dist/index.edge-light.d.ts                    3.09 kB
. (workerd)                 dist/index.workerd.js                         477 kB
                            dist/index.workerd.d.ts                       3.09 kB
./multi-model (browser)     multi-model/dist/multi-model.browser.js       1.65 kB
                            multi-model/dist/multi-model.browser.d.ts     457 B
./multi-model (edge-light)  multi-model/dist/multi-model.edge-light.js    2.43 kB
                            multi-model/dist/multi-model.edge-light.d.ts  457 B
./multi-model (workerd)     multi-model/dist/multi-model.workerd.js       2.43 kB
                            multi-model/dist/multi-model.workerd.d.ts     457 B

Process finished with exit code 0

It lost ./multi-model (default)

@himself65
Copy link
Contributor Author

Ok, the reason is I both have ./multi-model directory and ./multi-model.ts file

@huozhi huozhi changed the title output file lost Should error on the duplicated entry Nov 23, 2024
@huozhi huozhi added the bug Something isn't working label Nov 23, 2024
@huozhi huozhi closed this as completed Dec 29, 2024
@huozhi huozhi reopened this Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants