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

Show warning when Ladle finds empty stories file #579

Open
Hurtak opened this issue Oct 15, 2024 · 0 comments
Open

Show warning when Ladle finds empty stories file #579

Hurtak opened this issue Oct 15, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Hurtak
Copy link

Hurtak commented Oct 15, 2024

Is your feature request related to a problem? Please describe.
I had issue that one of my story files was not showing up and there was no error message anywhere. The issue ended up being that I simply forget to add export the story component, so it was story file with no exports. I think it could be helpful if Ladle showed warning that it encountered .stories file where it found no exported stories.

Describe the solution you'd like
Warning shown during ladle serve (and probably other commands where it makes sense, like ladle build)

@Hurtak Hurtak added the needs triage needs to be reviewed label Oct 15, 2024
@tajo tajo added question Further information is requested enhancement New feature or request good first issue Good for newcomers and removed needs triage needs to be reviewed question Further information is requested labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants