WPT Inspector 📦WPT Inspector is a Visual Studio Code extension for web developers who want to track the real bundle impact of their files without leaving the editor. It estimates the production weight of each file and displays it inline, so you can catch bloated modules before they hit your users. 🚀 InstallationSearch for WPT Inspector in the VSCode Extensions panel ( No configuration required — the extension activates automatically on startup. ✨ FeaturesLive Gutter AnnotationsOpen any supported file and you'll see its estimated bundle size at the end of the first line — no commands needed. The annotation updates automatically a moment after you save. Analysis DashboardGet a full breakdown of every file in your project sorted by bundle impact.
The panel shows all scanned files with proportional size bars. Click any row to jump straight to that file. Use the search box at the top to filter files by name. Framework-Aware EstimationWPT Inspector applies different compression profiles depending on the file type, reflecting the typical tree-shaking and minification behavior of each framework:
⚙️ SettingsAll settings are available under Extensions → WPT Inspector in VSCode Settings (
🛠️ Commands
❤️ SupportIf WPT Inspector saves you time, consider supporting its development. |