🍣 A Rollup plugin that beeps when a build ends with errors.
This plugin requires an LTS Node version (v14.0.0+) and Rollup v1.20.0+.
Using npm:
npm install @rollup/plugin-beep --save-devCreate a rollup.config.js configuration file and import the plugin:
import beep from '@rollup/plugin-beep';
export default {
input: 'src/index.js',
output: {
dir: 'output',
format: 'cjs'
},
plugins: [beep()]
};Note
If your editor complains that "beep is not a function", then use the named export instead:
import { alias } from '@rollup/plugin-alias';Then call rollup either via the CLI or the API. If the build produces any errors, the plugin will write a "beep" character to stderr, which should be audible on most systems.
This plugin currently has no available options.