Title: SSR: Add a way to configure `externalDependencies` for the server bundle only with `@angular-devkit/build-angular:application` builder · Issue #26487 · angular/angular-cli · GitHub
Open Graph Title: SSR: Add a way to configure `externalDependencies` for the server bundle only with `@angular-devkit/build-angular:application` builder · Issue #26487 · angular/angular-cli
X Title: SSR: Add a way to configure `externalDependencies` for the server bundle only with `@angular-devkit/build-angular:application` builder · Issue #26487 · angular/angular-cli
Description: Command build Description I would like to exclude some dependencies from being bundled but just for the server bundle. I can't find the proper way to do that using the @angular-devkit/build-angular:application builder. Adding externalDep...
Open Graph Description: Command build Description I would like to exclude some dependencies from being bundled but just for the server bundle. I can't find the proper way to do that using the @angular-devkit/build-angular...
X Description: Command build Description I would like to exclude some dependencies from being bundled but just for the server bundle. I can't find the proper way to do that using the @angular-devkit/build-ang...
Opengraph URL: https://github.com/angular/angular-cli/issues/26487
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SSR: Add a way to configure `externalDependencies` for the server bundle only with `@angular-devkit/build-angular:application` builder ","articleBody":"### Command\r\n\r\nbuild\r\n\r\n### Description\r\n\r\nI would like to exclude some dependencies from being bundled but just for the server bundle. I can't find the proper way to do that using the @angular-devkit/build-angular:application builder. \r\n\r\nAdding `externalDependencies` to the `options` prevent the packages from being bundled in both the browser and the server bundles.\r\n\r\n### Describe the solution you'd like\r\n\r\nMaybe update the `ssr` option with an `externalDependencies` property that prevents the bundling just for the server.\r\n\r\n### Describe alternatives you've considered\r\n\r\nStop using the `ssr` option from `@angular-devkit/build-angular:application` and using a combination of the same with the `@angular-devkit/build-angular:server`builder... but, I'm still trying to figure that out too 😅 .","author":{"url":"https://github.com/frankswarm","@type":"Person","name":"frankswarm"},"datePublished":"2023-11-24T17:03:52Z","url":"https://github.com/angular/angular-cli/issues/26487"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4f1cbacf-03d9-5b2c-753d-916cc717f423 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90E8:2F9718:2CC29F3:3C0D46D:6B01E019 |
| html-safe-nonce | 5526cb77da18294ac3ade02456b73769a9dd5f5bb894f9a3c92674383471c938 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEU4OjJGOTcxODoyQ0MyOUYzOjNDMEQ0NkQ6NkIwMUUwMTkiLCJ2aXNpdG9yX2lkIjoiODkyMTAwMDU1NTY5MDcxMzExMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1084f204e2f123677c845a04172b48ebe4efda103fc660002fcafcd692d4ccd0 |
| hovercard-subject-tag | issue:2010005530 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/26487/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aa09965e40981a9df1348c3b412bce3acee05e9194e3e2c6538e440b73544fd7/angular/angular-cli/issues/26487 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aa09965e40981a9df1348c3b412bce3acee05e9194e3e2c6538e440b73544fd7/angular/angular-cli/issues/26487 |
| og:image:alt | Command build Description I would like to exclude some dependencies from being bundled but just for the server bundle. I can't find the proper way to do that using the @angular-devkit/build-angular... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | frankswarm |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width