Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Throw an error if client builds retain references to `*.server.ts` files

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

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

評価

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

調査の方向性

Angular CLI の build コマンドから始め、SSR が有効な場合に最終的なクライアント build 出力がどのように生成されるかを追跡してください。その出力内で .server.ts ファイルがどのように保持されるかを確認してください。そのようなファイルが存在するたびに build がエラーを報告すれば完了です。

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

説明

angular/build:application area: @angular-devkit/build-angular feature feature: under consideration
Command

build

Description

When SSR is enabled in an Angular project, there are a few .server.ts files produced (e.g. app.config.server.ts). The .server.ts suffix is also used by different applications as a way to structure and separate client and server code.

The proposal is to update the build pipeline to throw an error in case files with .server.ts suffix are present in the final client build output.

// cc @alan-agius4

主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
17時間 25分
マージ済み PR(30日)
183

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

angular/angular-cli のほかの issue

angular/angular-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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