Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.11 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.11 KB

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