Skip to content

Commit ad81da6

Browse files
committed
docs: update
1 parent a673004 commit ad81da6

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

website/docs/en/config/lib/redirect.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ type JsRedirect = {
2020
extension?: boolean;
2121
};
2222

23+
type StyleRedirect = {
24+
path?: boolean;
25+
extension?: boolean;
26+
};
27+
2328
type Redirect = {
2429
js?: JsRedirect;
25-
style?: boolean;
30+
style?: StyleRedirect;
2631
};
2732
```
2833

website/docs/zh/config/lib/redirect.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ overviewHeaders: [2, 3]
1212

1313
:::
1414

15-
- **Type:**
15+
- **类型:**
1616

1717
```ts
1818
type JsRedirect = {
@@ -24,9 +24,14 @@ type StyleRedirect = {
2424
path?: boolean;
2525
extension?: boolean;
2626
};
27+
28+
type Redirect = {
29+
js?: JsRedirect;
30+
style?: StyleRedirect;
31+
};
2732
```
2833

29-
- **Default:**
34+
- **默认值:**
3035

3136
```ts
3237
const defaultRedirect = {

0 commit comments

Comments
 (0)