From 49424f50579be95027519c98e2a91d1a1af2c181 Mon Sep 17 00:00:00 2001 From: mehdim Date: Wed, 6 Apr 2022 20:17:06 -0400 Subject: [PATCH] docs: correct plugin example filename (#7026) * Correect Wrong file name The file name inside the my-plugin folder is index.js . * Update plugins.md Co-authored-by: Joshua Chen --- website/docs/advanced/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/advanced/plugins.md b/website/docs/advanced/plugins.md index 2960263eca..152f8ffebd 100644 --- a/website/docs/advanced/plugins.md +++ b/website/docs/advanced/plugins.md @@ -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 {