Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hunghg255/vite-console-debug
Vite plugin debug console
https://github.com/hunghg255/vite-console-debug
console debug plugin vite
Last synced: about 2 months ago
JSON representation
Vite plugin debug console
- Host: GitHub
- URL: https://github.com/hunghg255/vite-console-debug
- Owner: hunghg255
- Created: 2023-11-04T13:08:23.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-28T09:42:12.000Z (12 months ago)
- Last Synced: 2024-01-28T12:35:20.558Z (12 months ago)
- Topics: console, debug, plugin, vite
- Language: TypeScript
- Homepage:
- Size: 1.7 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
A plugin console debug for Vitejs## 🌈 Features
- 🍰 Console Debug for vite and rollup.
## 📦 Installation
```bash
npm i vite-console-debug@latest -D
```## support vite and rollup.
Basic
```ts
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import ConsoleDebug from 'vite-console-debug/vite';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), ConsoleDebug()],
});
```
## 🌸 DefaultConfiguration
```typescript
export interface PluginOptions {
exclude?: string[];
noConsole?: boolean;
disableLaunchEditor?: boolean;
}
```## Demo
![demo](./assets/demo.png)