Native config loader based on `oxnode` ability
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- node.js, typescript, vite
- 領域
- build-system
研究方向
Start by reading the linked Vite issue about making the native config loader the default and the referenced config loader performance issue #2698. The issue proposes experimenting with oxc-transformer to provide jiti-like config loading through Vite+'s existing oxnode and vite-plus/register support, but leaves timing and implementation scope open. Done means establishing whether that approach is viable and, if pursued, demonstrating compatibility with syntax such as __dirname and TypeScript enums.
由索引模型根據 Issue 內容生成。
描述
--configLoader native is about to become the default config loading method in Vite 9+.
After that, some syntax like __dirname and TypeScript enum in Vite config and would become incompatible. For pure Vite, supporting these syntax means adding oxnode or jiti dependencies, which increases its size.
But Vite+ is different, vpx already included oxnode, there is also a module vite-plus/register for adding TypeScript loading ability for Node. In other words, Vite+ already has the ability that jiti provides.
So in the future version where native become the default config loader, in order to have better compatibility, it might be a good idea to try using oxc-transformer's ability to load config, which costs little on Vite+. (provide jiti-like ability)
Not sure if we should start this experiment before Vite 9+ (config loader performance improvement #2698)
- 主要語言
- TypeScript
- 星號
- 6.6k
- 分支
- 303
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 219
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
voidzero-dev/vite-plus 的其他 Issue
-
support --fix-dangerously for vp check可能已有人在做 @chbaefront 今天認領。 未關閉contribution welcome
難度 2/5 1-3 小時 新手友好度 62/100
voidzero-dev/vite-plus#3394 · 1 則留言 · 1 個 reaction · 已指派 1 人 ·
維護者通常 1 天內回覆
-
vite:monorepo template declares catalog entries that no workspace package uses可能已有人在做 @d4rshnn 於 2 天前認領。 未關閉bug contribution welcome
難度 2/5 1-3 小時 新手友好度 76/100
voidzero-dev/vite-plus#3381 · 1 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
triage: not actionable
難度 2/5 1-3 小時 新手友好度 85/100
voidzero-dev/vite-plus#3296 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
pending triage
難度 2/5 1-3 小時 新手友好度 63/100
voidzero-dev/vite-plus#3235 ·
維護者通常 1 天內回覆
-
Docker guide: the runtime stage needs libatomic1 for Node.js 25 and later可能已有人在做 @kshanxs 於 17 天前認領。 未關閉documentation
難度 2/5 1-3 小時 新手友好度 84/100
voidzero-dev/vite-plus#3219 · 2 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
查看 voidzero-dev/vite-plus 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
home-assistant/frontend#55841 ·
維護者通常 1 天內回覆
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 76/100
lingdojo/kana-dojo#33905 · 1 則留言 · 5 個 reaction ·
維護者通常 1 天內回覆
-
bug(semester-planning): the edit application dialog cannot save with an empty «Annet fra bedriften»未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
blocklist removal
難度 2/5 1-3 小時 新手友好度 66/100
MetaMask/eth-phishing-detect#311215 ·
維護者通常 1 天內回覆
-
Explore filter: multi-select value list with allowNewOptions stops accepting values and drops earlier ones可能已有人在做 @isaac-jaynes-imperva 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
apache/superset#46146 · 1 則留言 ·
維護者通常 2 天內回覆