File tree Expand file tree Collapse file tree 5 files changed +48
-3
lines changed Expand file tree Collapse file tree 5 files changed +48
-3
lines changed Original file line number Diff line number Diff 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
119126export const emeriti = [
Original file line number Diff line number Diff line change 11# Worker 选项 {#worker-options}
22
3+ Options related to Web Workers.
4+
35## worker.format
46
57- ** 类型:** ` 'es' | 'iife' `
Original file line number Diff line number Diff 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` ` `
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments