1.2.0 • Published 2 years ago
rollup-plugin-replace-shebang v1.2.0
rollup-plugin-replace-shebang
一个自动替换shebang
的rollup
插件
安装
# 使用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.