We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a673004 commit ad81da6Copy full SHA for ad81da6
website/docs/en/config/lib/redirect.mdx
@@ -20,9 +20,14 @@ type JsRedirect = {
20
extension?: boolean;
21
};
22
23
+type StyleRedirect = {
24
+ path?: boolean;
25
+ extension?: boolean;
26
+};
27
+
28
type Redirect = {
29
js?: JsRedirect;
- style?: boolean;
30
+ style?: StyleRedirect;
31
32
```
33
website/docs/zh/config/lib/redirect.mdx
@@ -12,7 +12,7 @@ overviewHeaders: [2, 3]
12
13
:::
14
15
-- **Type:**
+- **类型:**
16
17
```ts
18
type JsRedirect = {
@@ -24,9 +24,14 @@ type StyleRedirect = {
path?: boolean;
+type Redirect = {
+ js?: JsRedirect;
-- **Default:**
34
+- **默认值:**
35
36
37
const defaultRedirect = {
0 commit comments