1.0.2 • Published 1 year ago

@neosjs/unplugin-build-message v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@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 */
    }),
  ],
})
1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago