Vite Plugin Inspect

screenshot of Vite Plugin Inspect
vite
vue
unocss

Inspect the intermediate state of Vite plugins

Overview

The Vite plugin vite-plugin-inspect is a powerful tool designed for developers working with Vite, offering rich debugging capabilities for Vite plugins. This plugin facilitates the inspection of the intermediate state of plugins, making it invaluable for those who are authoring or troubleshooting plugin implementations. Whether you are running a development server or working in build mode, the insights gained from this plugin can enhance your development workflow.

Features

  • Compatibility: Version 10.x requires Vite v6.0.1 or above, while versions 2 to 5 can use v0.8.x, ensuring adaptability for different Vite versions.
  • Easy Integration: Simply add the plugin to your vite.config.ts file, making setup straightforward and efficient.
  • Real-Time Inspection: After running npm run dev, developers can easily visit localhost:5173/__inspect/ to access the inspection interface.
  • Build Mode Support: The plugin supports transformation inspection in build mode by passing the build: true option, allowing for thorough examination in production builds.
  • Generated Reports: Post build, the inspector client is generated under .vite-inspect, which can be easily served for further analysis.
  • Open Source: Released under the MIT License, this plugin is accessible for modification and enhancement by the community.
  • Active Development: Continuously maintained and updated by its creator, Anthony Fu, ensuring that it keeps pace with the evolving Vite ecosystem.
vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

unocss
UnoCSS

UnoCSS is an instant, on-demand atomic CSS engine that generates utility classes at build time. It's highly customizable, extremely fast, and compatible with Tailwind CSS utilities while offering additional features like attributify mode and pure CSS icons.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

pinia
Pinia

Pinia is the official state management library for Vue.js. It provides a simple and intuitive API with full TypeScript support, devtools integration, and modular design. Pinia replaces Vuex as the recommended state management solution for Vue 3.