0.1.4 • Published 3 years ago

vite-plugin-tray-notifier v0.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

vite-plugin-tray-notifier

Shows a tray icon that HMR has completed. Only runs in dev mode.

example

Quick start

Install it:

pnpm add vite-plugin-tray-notifier -D # or npm or yarn

Use it:

import { defineConfig } from 'vite'
import notifier from 'vite-plugin-tray-notifier'

const options = {
  // Use .png icon in macOS/Linux and .ico format in windows
  icon: '<base64 image string>', // defaults to Vite logo
  title: 'HMR complete',
  timeout: 3000, // hide tray after 3 seconds
}

export default defineConfig({
  plugins: [notifier(options)],
})

Credits

License

MIT

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago