docs: document buildAssetsDir in the config reference

オープン 初心者向け
#5,219 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
92/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown, typescript, vite
領域
documentation

調査の方向性

まず src/types/config.ts の buildAssetsDir に関する JSDoc から始め、その後 docs/3.config/4.assets.md を更新します。短い例と、既存の Vercel プロバイダーのセクションへのリンクを含む、簡潔な項目を追加してください。ユーザー向けのオプションが Config > Assets の下に文書化されたら、変更は完了です。

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

説明

pending triage
Describe the feature

buildAssetsDir can be set by users (it's part of NitroOptions in src/types/config.ts), and the Vite plugin applies it as build.assetsDir. Right now it's only mentioned on the Vercel provider page, under immutable static files, so it doesn't appear in Config > Assets.

I'd like to add a buildAssetsDir entry to docs/3.config/4.assets.md, based on the existing JSDoc, with a short example and a link to the Vercel section. Does that fit, or is the option meant to stay for presets and frameworks only?

Additional information
  • Would you be willing to help implement this feature?
主要言語
TypeScript
スター
11.5k
フォーク
968
平均マージ
4日 9時間
マージ済み PR(30日)
64

環境構築

Codespaces で開く

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

はじめの一歩

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

nitrojs/nitro のほかの issue

nitrojs/nitro の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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