0.1.7 • Published 3 years ago

vite-plugin-hmr-notify v0.1.7

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

vite-plugin-hmr-notify

A fork of vite-plugin-notifier. Uses the Notifications API instead of showing an icon.

Quick start

Install it:

pnpm add vite-plugin-hmr-notify -D # or npm or yarn

Use it:

import { defineConfig } from 'vite';
import notifier from 'vite-plugin-hmr-notify';

// See https://developer.mozilla.org/en-US/docs/Web/API/notification#properties
const options = {
  body: 'App updated!',
  silent: true,
};

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

License

MIT

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago