Skip to content

Commit 51d6332

Browse files
committed
docs(en): merging all conflicts
2 parents 65734f3 + b487b17 commit 51d6332

File tree

5 files changed

+48
-3
lines changed

5 files changed

+48
-3
lines changed

_data/team.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ export const core = [
114114
desc: 'Passionate by tooling around TypeScript and React.',
115115
links: [{ icon: 'github', link: 'https://github.com/ArnaudBarre' }],
116116
},
117+
{
118+
avatar: 'https://github.com/dominikg.png',
119+
name: 'Dominik G.',
120+
title: 'Resident CI Expert',
121+
desc: 'Team Member of Vite and Svelte',
122+
links: [{ icon: 'github', link: 'https://github.com/dominikg' }],
123+
},
117124
]
118125

119126
export const emeriti = [

config/worker-options.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Worker 选项 {#worker-options}
22

3+
Options related to Web Workers.
4+
35
## worker.format
46

57
- **类型:** `'es' | 'iife'`

guide/api-hmr.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,15 @@ if (import.meta.hot) {
9393
import.meta.hot.accept(
9494
['./foo.js', './bar.js'],
9595
([newFooModule, newBarModule]) => {
96+
<<<<<<< HEAD
9697
// 只有当更新模块非空时,回调函数接收一个数组
9798
// 如果更新不成功(例如语法错误),则该数组为空
9899
}
100+
=======
101+
// The callback receives an array where only the updated module is non null
102+
// If the update was not successful (syntax error for ex.), the array is empty
103+
},
104+
>>>>>>> b487b176946a6940b8f77176b07b19eed975456c
99105
)
100106
}
101107
```

guide/build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,14 @@ dist/my-lib.umd.cjs 0.30 KiB / gzip: 0.16 KiB
192192
"type": "module",
193193
"files": ["dist"],
194194
"main": "./dist/my-lib.cjs",
195-
"module": "./dist/my-lib.mjs",
195+
"module": "./dist/my-lib.js",
196196
"exports": {
197197
".": {
198-
"import": "./dist/my-lib.mjs",
198+
"import": "./dist/my-lib.js",
199199
"require": "./dist/my-lib.cjs"
200200
},
201201
"./secondary": {
202-
"import": "./dist/secondary.mjs",
202+
"import": "./dist/secondary.js",
203203
"require": "./dist/secondary.cjs"
204204
}
205205
}

guide/troubleshooting.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,29 @@
5151

5252
请注意,这些配置会持久作用,但需要 **重新启动**
5353

54+
<<<<<<< HEAD
5455
### 431 Request Header Fields Too Large {#431-request-header-fields-too-large}
56+
=======
57+
### Network requests stop loading
58+
59+
When using a self-signed SSL certificate, Chrome ignores all caching directives and reloads the content. Vite relies on these caching directives.
60+
61+
To resolve the problem use a trusted SSL cert.
62+
63+
See: [Cache problems](https://helpx.adobe.com/mt/experience-manager/kb/cache-problems-on-chrome-with-SSL-certificate-errors.html), [Chrome issue](https://bugs.chromium.org/p/chromium/issues/detail?id=110649#c8)
64+
65+
#### macOS
66+
67+
You can install a trusted cert via the CLI with this command:
68+
69+
```
70+
security add-trusted-cert -d -r trustRoot -k ~/Library/Keychains/login.keychain-db your-cert.cer
71+
```
72+
73+
Or, by importing it into the Keychain Access app and updating the trust of your cert to "Always Trust."
74+
75+
### 431 Request Header Fields Too Large
76+
>>>>>>> b487b176946a6940b8f77176b07b19eed975456c
5577
5678
当服务器或 WebSocket 服务收到一个较大的 HTTP 头,该请求可能会被遗落并且会显示下面这样的警告。
5779

@@ -83,7 +105,15 @@ import './Foo.js' // 应该为 './foo.js'
83105

84106
同时如果有依赖环,也会发生完全重载。要解决这个问题,请先尝试解决依赖循环。
85107

108+
<<<<<<< HEAD
86109
## 构建 {#build}
110+
=======
111+
### High number of HMR updates in console
112+
113+
This can be caused by a circular dependency. To solve this, try breaking the loop.
114+
115+
## Build
116+
>>>>>>> b487b176946a6940b8f77176b07b19eed975456c
87117
88118
### 构建产物因为 CORS 错误无法工作 {#built-file-does-not-work-because-of-cors-error}
89119

0 commit comments

Comments
 (0)