Skip to content

elonehoo/unplugin-deploy-info

Repository files navigation

unplugin-deploy-info

print some help info like vite builtin

Install

npm i -D unplugin-deploy-info
Vite
// vite.config.ts
import DeployInfo from 'unplugin-deploy-info/vite'

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

Example: playground/vite


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

Example: playground/nuxt


License

MIT License © 2023 Elone Hoo