An open API service indexing awesome lists of open source software.

https://github.com/elonehoo/unplugin-deploy-info

print some help info like vite builtin
https://github.com/elonehoo/unplugin-deploy-info

print-info unplugin

Last synced: 9 months ago
JSON representation

print some help info like vite builtin

Awesome Lists containing this project

README

          

# unplugin-deploy-info

> print some help info like vite builtin

## Install

```bash
npm i -D unplugin-deploy-info
```

Vite

```ts
// vite.config.ts
import DeployInfo from 'unplugin-deploy-info/vite'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
DeployInfo({
/* options */
})
],
})
```

Example: [`playground/vite`](./playground/vite)


Nuxt

```ts
// nuxt.config.ts
export default defineNuxtConfig({
modules: [
['unplugin-deploy-info/nuxt', {
/* options */
}]
]
})
```

Example: [`playground/nuxt`](./playground/nuxt)


## License
MIT License © 2023 [Elone Hoo](https://github.com/elonehoo)