@rollup/plugin-beep
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

npm size libera manifesto

@rollup/plugin-beep

🍣 A Rollup plugin that beeps when a build ends with errors.

Requirements

This plugin requires an LTS Node version (v14.0.0+) and Rollup v1.20.0+.

Install

Using npm:

npm install @rollup/plugin-beep --save-dev

Usage

Create a rollup.config.js configuration file and import the plugin:

const beep = require('@rollup/plugin-beep');

module.exports = {
  input: 'src/index.js',
  output: {
    dir: 'output',
    format: 'cjs'
  },
  plugins: [beep()]
};

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.

Options

This plugin currently has no available options.

Meta

CONTRIBUTING

LICENSE (MIT)

/@rollup/plugin-beep/

    Package Sidebar

    Install

    npm i @rollup/plugin-beep

    Weekly Downloads

    447

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    3.3 kB

    Total Files

    4

    Last publish

    Collaborators

    • shellscape
    • rich_harris
    • guybedford
    • lukastaegert