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

a main barrel export is created even when the config is disabled #789

Closed
chiptus opened this issue Jan 21, 2024 · 1 comment · Fixed by #791
Closed

a main barrel export is created even when the config is disabled #789

chiptus opened this issue Jan 21, 2024 · 1 comment · Fixed by #791
Assignees
Labels
bug Something isn't working

Comments

@chiptus
Copy link
Contributor

chiptus commented Jan 21, 2024

What version of kubb is running?

2.4.0

What platform is your computer?

codesandbox

What version of external packages are you using(@tanstack-query, MSW, React, Vue, ...)

No response

What steps can reproduce the bug?

see sandbox https://codesandbox.io/p/devbox/kubb-playbox-5g2n53?file=%2Fgen%2Findex.ts%3A1%2C55

How often does this bug happen?

Every time

What is the expected behavior?

no main barrel export

Swagger/OpenAPI file?

No response

Additional information

No response

@chiptus chiptus added the bug Something isn't working label Jan 21, 2024
@stijnvanhulle stijnvanhulle self-assigned this Jan 21, 2024
@stijnvanhulle stijnvanhulle linked a pull request Jan 21, 2024 that will close this issue
@stijnvanhulle
Copy link
Collaborator

When used with the group option it broke the logic causing the index.ts files to be created.
I opened a PR to also check on the barrelType so no barrel files would be created.

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