No way to access compilation output files
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- angular, typescript
- Domain
- build-system
Research direction
Start with the application builder's build and serve paths and the esbuild plugin's onEnd hook, then inspect how result.outputFiles is currently exposed. Determine how the full emitted set, including polyfills, assets, and styles, or the build command result should expose filenames with hashes. Done means a plugin or builder consumer can access all compilation output files for a manifest.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 27k
- Forks
- 11.8k
- Avg merge
- 16h 35m
- Merged PRs (30d)
- 176
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from angular/angular-cli
-
area: @angular/build gemini-triaged
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
angular/angular-cli#33955 ·
-
area: @angular/cli gemini-triaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
angular/angular-cli#33055 · 1 comment · 3 reactions ·
-
area: @angular/build gemini-triaged
Difficulty 4/5 3-5 days Newbie friendliness 72/100
angular/angular-cli#34137 ·
-
angular/build:library area: @angular/build gemini-triaged
angular/angular-cli#34131 · 1 assignee ·
-
angular/build:library area: @angular/build gemini-triaged
angular/angular-cli#34130 · 1 assignee ·
All issues in angular/angular-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
melgarafael/DeskcommCRM#1451 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·