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

refactor: debug #749

Merged
merged 3 commits into from
Sep 16, 2023
Merged

refactor: debug #749

merged 3 commits into from
Sep 16, 2023

Conversation

dominikg
Copy link
Member

@dominikg dominikg commented Sep 15, 2023

This reduces the noise of debug logs and allows you to get more fine grained control

the vite: prefix is removed so you have to enable vite-pluging svelte with DEBUG=vite-plugin-svelte:*

Additonally a few suffixes have been added to allow debugging only parts of it.

  • stats
  • hmr
  • config
  • load
  • resolve
  • preprocess
  • compile

usable via DEBUG=vite-plugin-svelte:suffix

fixes #617

@dominikg dominikg merged commit 7758c8b into main Sep 16, 2023
@dominikg dominikg deleted the refactor/debug branch September 16, 2023 11:38
@github-actions github-actions bot mentioned this pull request Sep 16, 2023
@github-actions github-actions bot mentioned this pull request Nov 16, 2023
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

Successfully merging this pull request may close these issues.

improve debug logs
2 participants