@comandeer/babel-plugin-banner

5.0.0 • Public • Published

@comandeer/babel-plugin-banner

Build Status Dependency Status devDependency Status npm (scoped) Greenkeeper badge

Prepends given comment to the beginning of babelified code.

Installation

npm install @comandeer/babel-plugin-banner [--save-dev]

Usage

{
  "presets": ["es2015"],
  "plugins": [
    ["@comandeer/babel-plugin-banner", {
      "banner": "/*! Some nice comment */"
    }]
  ]
}

Available options:

  • banner: content of the banner comment; must be a valid JS comment.

License

See LICENSE file for details.

Dependencies (0)

    Dev Dependencies (14)

    Package Sidebar

    Install

    npm i @comandeer/babel-plugin-banner

    Weekly Downloads

    4,250

    Version

    5.0.0

    License

    MIT

    Unpacked Size

    13.1 kB

    Total Files

    8

    Last publish

    Collaborators

    • comandeer