No way to access compilation output files

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

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

評価

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

調査の方向性

まず application builder の build と serve のパス、および esbuild plugin の onEnd hook から調査を始め、現在 result.outputFiles がどのように公開されているかを確認します。polyfills、assets、styles を含む完全な出力セット、または build command の結果が、ハッシュ付きのファイル名をどのように公開すべきかを判断します。完了条件は、plugin または builder の利用側が manifest 用にすべてのコンパイル出力ファイルへアクセスできることです。

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

説明

angular/build:application area: @angular/build feature feature: under consideration freq1: low
Command

build, serve

Description

I have an esbuild plugin that is resposible to collect outputFiles after compilation (using onEnd hook with result.outputFiles).

When using application builder (esbuild) with custom plugins there is no way to access full list of outputFiles, only those emitted by main entrypoint compilation. There is no way to access additional files emited by angular builder, such as polyfills, assets, styles etc.

Previously, with using webpack plugin, i was able to get full list of outputFiles by using processAssets compilation hook.

I need to list emited files, as this is only way to get full names with filenames hash.

MY point is to build something like manifest of compilation result output files.

Describe the solution you'd like

I would like to be able to access all compilation files by esbuild plugin.

Describe alternatives you've considered

An alternative could be to access output files as an result of builder output, currently build command only returns {success: true} without information about output files.

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

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

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

はじめの一歩

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

angular/angular-cli のほかの issue

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

似ている issue

TypeScript の issue をもっと見る

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

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