print some help info like vite builtin
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
MIT License © 2023 Elone Hoo