Node.js module compile cache support

オープン
#928 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
50/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
nodejs, rust
領域
build-system

調査の方向性

Start with how the task runner handles the cache.untrackedEnv setting, since the issue asks for NODE_COMPILE_CACHE to be added there. The open question is whether the runner should also set NODE_COMPILE_CACHE to a folder inside its task cache, which is a design choice the issue leaves open. Done means the variable is handled, the related NODE_COMPILE_CACHE_PORTABLE, NODE_COMPILE_CACHE_READONLY and NODE_DISABLE_COMPILE_CACHE variables are covered, and a test confirms it. Check with maintainers on the auto-populate behaviour first.

索引モデルが issue の本文から書いたものです。

説明

The NODE_COMPILE_CACHE environment variable is not included in cache.untrackedEnv, so tasks do not benefit from Node's module compile cache by default.

Maybe vp could automatically populate NODE_COMPILE_CACHE to its task cache folder?

The NODE_COMPILE_CACHE_PORTABLE, NODE_COMPILE_CACHE_READONLY, and NODE_DISABLE_COMPILE_CACHE environment variables could also be supported.

主要言語
Rust
スター
485
フォーク
51
平均マージ
23時間 20分
マージ済み PR(30日)
56

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

voidzero-dev/vite-task のほかの issue

voidzero-dev/vite-task の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。