@comandeer/babel-plugin-banner

v5.0.0
Simple Babel plugin to prepend comment to the beginning of transformed code.
babel plugin banner

@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.

npm i @comandeer/babel-plugin-banner

Metadata

  • MIT
  • >=8.0.0
  • Comandeer
  • released 6/29/2019

Downloads

Maintainers