Skip to content

Commit a817201

Browse files
committed
fix: error in the readme
1 parent 60f469b commit a817201

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,11 @@ css
7070

7171
You can pass an input plugin with their supported option:
7272

73-
```js
74-
createPlugins(["ts", {noEmitOnError: false, tsconfig: "./lib/tsconfig.json"})
73+
```ts
74+
const plugins = createPlugins([
75+
["ts", { tsconfig: "./lib/tsconfig.json", noEmitOnError: false, module: "ESNext" }],
76+
"js"
77+
])
7578
```
7679

7780
For adding extra plugins, you can:

0 commit comments

Comments
 (0)