Skip to content

Commit 73988ff

Browse files
committed
fix: remove deprecated API from readme
1 parent 73d8a64 commit 73988ff

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@ module.exports = {
5757
use `createPlugins` to create the plugins you need.
5858

5959
```ts
60-
createPlugins(
61-
inputPlugins: Array<Plugin> = ["ts", "babel", "json", "coffee"], // languages/plugins you use
62-
extraPlugins?: Array<any> // pass any extra plugins functions as an array like `[multientry()]`
63-
)
60+
createPlugins(inputPlugins: Array<Plugin> = ["ts", "babel", "json", "coffee"])
6461
```
6562

6663
which `inputPlugins` is among these:
@@ -114,6 +111,7 @@ Passing false as the third argument results in discarding the `rollup-config-ato
114111
For adding extra plugins, you can simply concatenate your plugins with the output of `createPlugins`
115112

116113
```ts
117-
import multyentry from "@rollup/plugin-multi-entry"
114+
import multyentry from "@rollup/plugin-multi-entry" // an extra plugin
115+
118116
const plugins = [...createPlugins(["ts"]), multyentry()]
119117
```

0 commit comments

Comments
 (0)