vite-plugin-build-info-html
v1.0.12
Published
a vite plugin to generate build info page
Downloads
19
Readme
快速开始
// vite.config.js
import { buildInfo } from 'vite-plugin-build-info-html';
plugins: [
buildInfo({
// 非必传
projectName,
// 额外属性
extra:[
{
// label必传 以下三项传一项即可 优先级 为 val envKey gitOrder
label:'',
// 读取process.env的key
envKey:'',
// 手动设值
val:'',
// git命令
gitOrder:''
}
]
})]