Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@enquer/rollup-plugin-shebang

enquer14MIT0.0.4

Rollup plugin that adds shebang exactly at the beginning of the file.

readme

rollup-plugin-shebang

Rollup plugin that adds shebang at the beginning of the bundle.

Installation

npm install -D @enquer/rollup-plugin-shebang

Usage

import shebang from '@enquer/rollup-plugin-shebang'

...

rollup({
  plugins: [
    shebang(),
  ],
})