https://github.com/tjx666/vite-plugin-print-info
print some help info like vite builtin
https://github.com/tjx666/vite-plugin-print-info
Last synced: 27 days ago
JSON representation
print some help info like vite builtin
- Host: GitHub
- URL: https://github.com/tjx666/vite-plugin-print-info
- Owner: tjx666
- License: mit
- Created: 2023-06-03T18:28:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-30T07:31:09.000Z (almost 2 years ago)
- Last Synced: 2025-03-29T22:34:48.151Z (28 days ago)
- Language: TypeScript
- Homepage:
- Size: 207 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vite-plugin-print-info
[](https://npmjs.com/package/vite-plugin-print-info) [](https://npmjs.com/package/vite-plugin-print-info) [](https://github.com/tjx666/vite-plugin-print-info/actions/workflows/unit-test.yml)
print some help info like vite builtin.

## Installation
```bash
npm i -D vite-plugin-print-info
```## Usage
```ts
// vite.config.ts
import vitePluginPrintInfo from 'vite-plugin-print-info';export default defineConfig({
plugins: [
vitePluginPrintInfo({
infoList: [
{
name: 'APP_ENV',
message: APP_ENV,
messageStyle: {
color: 'yellow',
bold: true,
},
},
{
name: 'Recommend',
message: 'https://abc.com/test-page?debug=1',
},
],
}),
],
});
```## License
[MIT](./LICENSE) License © 2023-PRESENT [YuTengjing](https://github.com/tjx666)