Native config loader based on `oxnode` ability
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 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日 5時間
- マージ済み PR(30日)
- 212
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
vite:monorepo template declares catalog entries that no workspace package uses対応中かも @d4rshnn が 1 日前に担当しました。 オープンbug contribution welcome
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
voidzero-dev/vite-plus#3381 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
vp migrate rewrites catalog: specs in a Bun project whose workspaces.packages is empty対応中かも @jong-kyung が今日担当しました。 オープンbug migration
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
voidzero-dev/vite-plus#3375 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
`vp env pin`: says "Created .node-version" when overwriting an existing file対応中かも @CheHyeonYeong が 2 日前に担当しました。 オープンcontribution welcome documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
voidzero-dev/vite-plus#3370 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
triage: not actionable
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
voidzero-dev/vite-plus#3296 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
voidzero-dev/vite-plus#3235 ·
メンテナーはふだん 1 日以内に返信
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
WalletConnect/walletconnect-monorepo#7392 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
fehler
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Azure/azure-functions-nodejs-extensions#180 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
laaielichter/Threesmith#28 ·
メンテナーはふだん 1 日以内に返信