No way to access compilation output files
- Lingua principale
- TypeScript
- Stelle
- 27k
- Fork
- 11.8k
- Merge medio
- 14h 23m
- PR unite (30g)
- 162
Descrizione
### 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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dai percorsi di build e serve dell’application builder e dall’hook onEnd del plugin esbuild, quindi esamina come viene attualmente esposto result.outputFiles. Determina come l’intero insieme emesso, inclusi polyfills, assets e styles, oppure il risultato del comando di build, dovrebbe esporre nomi di file con hash. Il lavoro è completo quando un consumer di un plugin o builder può accedere a tutti i file di output della compilazione per un manifest.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- build-system
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100