@neosjs/unplugin-build-message
v1.0.2
Published
打印编译信息到终端
Downloads
1
Maintainers
Readme
@neosjs/unplugin-build-message
在终端打印出构建信息
安装
pnpm add @neosjs/unplugin-build-message -D
npm install @neosjs/unplugin-build-message -D
yarn add @neosjs/unplugin-build-message -D
使用方法
Vite
// vite.config.ts
import buildMessage from '@neosjs/unplugin-build-message/vite'
export default defineConfig({
plugins: [
buildMessage({
/* options */
})
]
})
Rollup
// rollup.config.js
import buildMessage from '@neosjs/unplugin-build-message/rollup'
export default {
plugins: [
buildMessage({
/* options */
})
]
}
esbuild
// esbuild.config.js
import { build } from 'esbuild'
build({
/* ... */
plugins: [
require('@neosjs/unplugin-build-message/esbuild')({
/* options */
}),
],
})