Skip to content

Commit

Permalink
docs: correct plugin example filename (#7026)
Browse files Browse the repository at this point in the history
* Correect Wrong file name

The file name inside the my-plugin folder is index.js .

* Update plugins.md

Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
mem212 and Josh-Cena authored Apr 7, 2022
1 parent 103ea04 commit 49424f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/advanced/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = {

Then in the folder `my-plugin`, you can create an `index.js` such as this:

```js title="my-plugin.js"
```js title="my-plugin/index.js"
module.exports = async function myPlugin(context, options) {
// ...
return {
Expand Down

0 comments on commit 49424f5

Please sign in to comment.