Skip to content

Commit

Permalink
docs: why section convention for Vite only plugins (#2251)
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Feb 26, 2021
1 parent 6fae0b7 commit 7f6eed9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/guide/api-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ For Vite only plugins

- Vite Plugins should have a clear name with `vite-plugin-` prefix.
- Include `vite-plugin` keyword in package.json.
- Include a section in the plugin docs detailing why it is a Vite only plugin (for example, it uses Vite specific plugin hooks).

If your plugin is only going to work for a particular framework, its name should be included as part of the prefix

Expand Down

0 comments on commit 7f6eed9

Please sign in to comment.