一覧へ戻る
hakocat/rollup-plugin-remove-call(新しいタブで開きます)
主要言語: TypeScript
A Rollup plugin to remove function calls.
- star 数
- 0
- watcher 数
- 1
- fork 数
- 0
- issue 数
- 0
- 最終更新
- 2022/02/02
主要言語: TypeScript
A Rollup plugin to remove function calls.
A Rollup plugin to remove function calls.
npm i rollup-plugin-remove-call --save-dev
The following example removes
addDebugLog(..)console.log(...)a?.b?.c(...) and a.b.c(...)import { rollup } from "rollup"; import { removeCall } from 'rollup-plugin-remove-call'; export default { input: 'src/index.js', plugins: [ removeCall({ toRemove: ['addDebugLog', 'console.log', 'a.b.c'] }) ] };
MIT © hakocat