Features | Vite
6
公开标注数
6
参与人数
2026-07-18 09:59:08
首次 Whisper
本页的公开 Whisper
划选高亮2026-07-18 16:23:08
原文高亮摘录
“vite/client provides the following type shims”
Whisper 随想笔记
Wait, does that mean I need to add vite/client to my tsconfig or just import it?
划选高亮2026-07-18 13:20:08
原文高亮摘录
“Vite only performs transpilation on .ts files and does NOT perform type checking”
Whisper 随想笔记
Yeah that catches everyone off guard, I always forget type errors until CI fails.
划选高亮2026-07-18 13:11:08
原文高亮摘录
“Vite only performs transpilation on .ts files and does NOT perform type checking”
Whisper 随想笔记
So does that mean I need to add tsc separately or is my IDE enough?
划选高亮2026-07-18 10:17:08
原文高亮摘录
“Native ES imports do not support bare module imports”
Whisper 随想笔记
I remember hitting this wall with a vanilla JS project once. Painful.
划选高亮2026-07-18 10:08:08
原文高亮摘录
“Native ES imports do not support bare module imports”
Whisper 随想笔记
Bare imports are so convenient though, annoying they don't just work.
划选高亮2026-07-18 09:59:08
原文高亮摘录
“Native ES imports do not support bare module imports”
Whisper 随想笔记
So that's why we need bundlers in the first place, huh.
分享本页 Whisper
短链接
https://domwhisper.com/s/971d06ddbd24嵌入代码
<iframe src="https://domwhisper.com/embed/971d06ddbd24" width="100%" height="480" style="border:0;border-radius:16px" loading="lazy"></iframe>