https://github.com/tjx666/vite-plugin-inspect-config
inspect vite resolved config with infinite object level
https://github.com/tjx666/vite-plugin-inspect-config
Last synced: 27 days ago
JSON representation
inspect vite resolved config with infinite object level
- Host: GitHub
- URL: https://github.com/tjx666/vite-plugin-inspect-config
- Owner: tjx666
- License: mit
- Created: 2023-06-01T18:18:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-03T18:09:14.000Z (almost 2 years ago)
- Last Synced: 2025-03-29T22:34:48.210Z (28 days ago)
- Language: TypeScript
- Size: 407 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vite-plugin-inspect-config [](https://npmjs.com/package/vite-plugin-inspect-config)
[](https://github.com/tjx666/vite-plugin-inspect-config/actions/workflows/unit-test.yml)
Inspect vite resolved config with infinite object level
> **NOTE**
> You can utilize the `DEBUG_DEPTH` [environment variable](https://github.com/debug-js/debug#environment-variables) within the [debug](https://github.com/debug-js/debug) package to output configuration at an infinite depth level.
## Installation
```bash
npm i -D vite-plugin-inspect-config
```## Usage
```ts
// vite.config.ts
import vitePluginInspectConfig from 'vite-plugin-inspect-config';export default defineConfig({
plugins: [
vitePluginInspectConfig({
// You can use shortcut `.` to output resolved config when `vite dev`
enable: true,
}),
],
});
```## TODOs
- [ ] output rollup, esbuild version
- [ ] output the pre built packages name## License
[MIT](./LICENSE) License © 2023-PRESENT [YuTengjing](https://github.com/tjx666)