vite-plugin-print-info
v0.0.3
Published
print some help info like vite builtin
Downloads
1
Readme
vite-plugin-print-info
print some help info like vite builtin.
Installation
npm i -D vite-plugin-print-info
Usage
// vite.config.ts
import vitePluginPrintInfo from 'vite-plugin-print-info';
export default defineConfig({
plugins: [
vitePluginPrintInfo({
infoList: [
{
name: 'APP_ENV',
message: APP_ENV,
messageStyle: {
color: 'yellow',
bold: true,
},
},
{
name: 'Recommend',
message: 'https://abc.com/test-page?debug=1',
},
],
}),
],
});
License
MIT License © 2023-PRESENT YuTengjing