Skip to content

Commit

Permalink
fix(doc): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jianxing-xu committed Jul 3, 2024
1 parent f4cf856 commit 07825f6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ pnpm i babel-plugin-transform-remove-funcall
```js
// .babelrc.js or babel.config.js
module.exports = {
plugins: [['./dist/index.mjs', {
callChains: ['Logger', 'debug', 'log'],
}]],
plugins: [
['transform-remove-funcall', { callChains: ['Logger', 'debug', 'log'] }]
// ...other plugins
],
}

// example:
Expand Down

0 comments on commit 07825f6

Please sign in to comment.