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

Improve logging #3

Open
kettanaito opened this issue Aug 18, 2024 · 0 comments
Open

Improve logging #3

kettanaito opened this issue Aug 18, 2024 · 0 comments

Comments

@kettanaito
Copy link
Owner

Would be nice to have a proper logging to let the developer know:

  • When a new OG image is generated (and its output path).
  • When OG generation is skipped due to cache.
  • When OG imaged is re-generated due to related HMR update.

There's built-in logger in Vite, but I struggle to make it print anything. I suspect it only works when the build is run in a specific mode (e.g. debug mode). That won't do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant