Inspect the intermediate state of Vite plugins
vite-plugin-inspect
Inspect the intermediate state of Vite plugins. Useful for debugging and authoring plugins.
Install
npm i -D vite-plugin-inspect
Add plugin to your vite.config.ts
:
// vite.config.ts
import Inspect from 'vite-plugin-inspect'
export default {
plugins: [
Inspect() // only applies in dev mode
]
}
Then visit localhost:3000/__inspect/ to inspect the modules.
License
MIT License © 2021 Anthony Fu