Custom Notifications for Laravel Mix
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 yourpackage.json
fromdescription
field -
contentImage
- Image that show in notifications -
version
- Version. Default: load from yourpackage.json
fromversion
field -
showVersion
- Show version in thetitle
. Default:true