A Rollup plugin that displays build errors as native OS system notifications. Version 1.1.0 is the latest stable release; the package is in maintenance mode with no active development. It requires Rollup >=0.60.0 and depends on node-notifier internally. Unlike build logs, this plugin allows developers working in watch mode to see errors immediately without switching terminal windows. It extracts file, code snippet, and position from Rollup errors (including Babel) and formats them into concise 4-line notifications.
npm install rollup-plugin-notifyVerified import paths — ran on the pinned version, not inferred.
Basic Rollup configuration to show OS notifications on build errors.
Consider using a more up-to-date notification plugin or fork.
Use other Rollup plugins for warning/log notifications.
Check node-notifier documentation for Linux support.
Run 'npm install' in your project root; if problem persists, add node-notifier explicitly: npm install --save-dev node-notifier
Change to: import notify from 'rollup-plugin-notify' (or const notify = require('rollup-plugin-notify').default)Downgrade Rollup to version 1.x, or use an alternative plugin.