Skip to content

Conversation

@bluwy
Copy link
Member

@bluwy bluwy commented May 12, 2023

Closes #558

  • Created packages/vite-plugin-svelte-inspector with JSDoc
  • Named it @sveltejs/vite-plugin-svelte-inspector (quite a long name)
  • Copied most of the code, except some small refactors including:
    • Debug logs are done directly with the debug package
    • Warning and error logs uses Vite's config.logger API
    • Removed some logs which I'm not sure was helpful (happy to walk back if needed)
    • Refactor idToFile to not handle /@fs/, since that should never happen
@bluwy bluwy changed the title Refactor inspector as separate package refactor: move inspector to separate package May 12, 2023
@bluwy bluwy merged commit 1dd6933 into main May 17, 2023
@bluwy bluwy deleted the refactor-inspector-package branch May 17, 2023 06:21
@github-actions github-actions bot mentioned this pull request May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants