Commit activity
Last 12 weeks · 4 commits
Community health
3 of 6 standards met
Recent PRs & issues
🔗 Linked issue 🧭 Context In the spirit of e18e, I looked into several popular libraries to identify potential optimization opportunities (this time related to nuxt v5). I believe commit https://github.com/antfu-collective/vite-plugin-inspect/commit/3a273df1b768957787d163b3e5734d7c44ef5e0f accidentally left behind the file and the dependency, even though neither appears to be used by the published library. I verified this by: Manually reviewing the library source code Running to detect unused files, functions, and dependencies Running grep on the published dist If is only required for local development (which I don't think is very likely) it should be moved to . That way we can remove a lot of small dependencies from module graph: 📚 Description The preview server and browser-opening helper became unused after the migration to Vite DevTools Kit. Remove the dead implementation and the dependency while keeping the public option deprecated for compatibility.
🔗 Linked issue 🧭 Context In the spirit of e18e, I looked into several popular libraries to identify potential optimization opportunities (this time related to nuxt v5). is the fifth most downloaded package that depends on . 📚 Description This PR replaces with the native styling API. Native text styling has been available since Node.js . Although this package currently declares Node.js as its minimum supported version, recent Vite versions already require Node.js . Therefore, this isn't a breaking change and should not affect anybody. Node.js 20 has reached EOL, so I can also update the requirement in to support only Node.js 22 and newer if that is preferred.
Recent fixes
Describe the bug CSS tries to load some fonts: https://unpkg.com/browse/vite-plugin-inspect@10.1.1/dist/client/assets/index-77TPuc99.css However these are not located in the published package: https://unpkg.com/browse/vite-plugin-inspect@10.1.1/dist/client/assets/ Reproduction https://unpkg.com/browse/vite-plugin-inspect@10.1.1/dist/client/assets/ System Info Used Package Manager pnpm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [ ] I am willing to submit a PR to fix this issue [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Related: #167 https://github.com/vuejs/devtools/issues/1068 Projects created using currently use Vite 8 and Vue DevTools. The latter has a dependency on , which doesn't allow Vite 8 as a peer dependency. This results in warnings when installing dependencies for the project. While the projects do appear to work correctly, we need to resolve the peer dependency warnings. Even if they're harmless, most users won't know that, and it isn't a good look for a default Vue project to have warnings out-of-the-box. It seems like this would just need new releases of , and with expanded version ranges. I'm not clear whether there's some technical reason why extending support to Vite 8 isn't possible. I have tried experimenting with 12.0.0-beta.1. I've opened a draft PR in the Vue DevTools repo containing that experiment: https://github.com/vuejs/devtools/pull/1085 This was based on the suggestions from https://github.com/antfu-collective/vite-plugin-inspect/issues/167#issuecomment-4181407717, but there are several major problems with my attempt (explained on the PR). I may be missing something simple, but so far I haven't been able to figure out how to get it all working correctly.
Clear and concise description of the problem Vite 8 was released on March 12. Suggested solution Add support for Vite 8. Alternative _No response_ Additional context _No response_ Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Repository: made-in-common/vite-plugin-inspect. Description: Inspect the intermediate state of Vite plugins Stars: 1698, Forks: 108. Primary language: TypeScript. Languages: TypeScript (52.4%), Vue (42.7%), CSS (3.7%), HTML (0.9%), JavaScript (0.2%). License: MIT. Topics: vite, vite-plugin. Latest release: v12.1.0 (1mo ago). Open PRs: 6, open issues: 8. Last activity: 1d ago. Community health: 50%. Top contributors: antfu, userquin, sxzz, sapphi-red, antfubot, zheeeng, LoTwT, liangmiQwQ, younggglcy, Joery-M and others.