@feugene/laravel-mix-notifier
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Custom Notifications for Laravel Mix

npm img

Laravel Mix extension to display notifications from Mix when your project will build.

The package uses webpack-plugin webpack-notifier

Install

npm install @feugene/laravel-mix-notifier --save-dev

Usage

const mix = require('laravel-mix')
require('laravel-mix-notifier')

mix.notify()
mix.notify({
  title: 'Hello!',
  contentImage: 'assets/logo.png',
  version: '12.2.2-dev',
  showVersion: false,
})
  • title - Notification's title. Default: load from your package.json from description field
  • contentImage - Image that show in notifications
  • version - Version. Default: load from your package.json from version field
  • showVersion - Show version in the title. Default: true

Package Sidebar

Install

npm i @feugene/laravel-mix-notifier

Weekly Downloads

6

Version

1.0.3

License

MIT

Unpacked Size

3.83 kB

Total Files

3

Last publish

Collaborators

  • efureev