rollup-plugin-replace-shebang
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

rollup-plugin-replace-shebang

一个自动替换shebangrollup插件

NPM version Codacy Badge Test coverage npm download gzip License

Sonar

安装

# 使用npm
$ npm install -D rollup-plugin-replace-shebang

# 使用yarn
$ yarn add -D rollup-plugin-replace-shebang

使用

import shebang from 'rollup-plugin-replace-shebang'

plugins: [
    shebang({
        shebang: '#!/usr/bin/env node',
        skipBackslash: true // 跳过\u005c 反斜杠
    })
]

问题和支持

Please open an issue here.

License

MIT

Package Sidebar

Install

npm i rollup-plugin-replace-shebang

Weekly Downloads

18

Version

1.2.0

License

MIT

Unpacked Size

9.61 kB

Total Files

7

Last publish

Collaborators

  • saqqdy