Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 753 Bytes

README.md

File metadata and controls

51 lines (38 loc) · 753 Bytes

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