feat(client-redirects): make plugin respect onDuplicateRoutes config (#7649)

This commit is contained in:
Joshua Chen 2022-06-22 19:32:02 +08:00 committed by GitHub
parent 51d7899b0d
commit 4b5a47ba37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 66 additions and 13 deletions

View file

@ -50,6 +50,12 @@ Accepted fields:
</APITable>
```
:::note
This plugin will also read the [`siteConfig.onDuplicateRoutes`](../docusaurus.config.js.md#onDuplicateRoutes) config to adjust its logging level when multiple files will be emitted to the same location.
:::
### Types {#types}
#### `RedirectRule` {#RedirectRule}