JSPM

@feugene/laravel-mix-notifier

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 50
  • Score
    100M100P100Q54070F
  • License MIT

Custom Notifications for Laravel Mix

Package Exports

  • @feugene/laravel-mix-notifier
  • @feugene/laravel-mix-notifier/build/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@feugene/laravel-mix-notifier) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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