Title: Add circular dependency plugin to Webpack config · Issue #6739 · angular/angular-cli · GitHub
Open Graph Title: Add circular dependency plugin to Webpack config · Issue #6739 · angular/angular-cli
X Title: Add circular dependency plugin to Webpack config · Issue #6739 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Versions. @angular/cli: 1.1.2 node: 6.11.0 os: darwin x64 @angular/animations: 4.2.3 @angular/common: 4.2.3 @...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Versions. @angular/cli: 1.1.2 node: 6.11.0 os: darwin x64 @angular/an...
X Description: Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Versions. @angular/cli: 1.1.2 node: 6.11.0 os: darwin x64 @angular...
Opengraph URL: https://github.com/angular/angular-cli/issues/6739
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add circular dependency plugin to Webpack config","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [ ] bug report -> please search issues before submitting\r\n- [X] feature request\r\n```\r\n\r\n### Versions.\r\n\u003c!--\r\nOutput from: `ng --version`.\r\nIf nothing, output from: `node --version` and `npm --version`.\r\n Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)\r\n-->\r\n\r\n```\r\n@angular/cli: 1.1.2\r\nnode: 6.11.0\r\nos: darwin x64\r\n@angular/animations: 4.2.3\r\n@angular/common: 4.2.3\r\n@angular/compiler: 4.2.3\r\n@angular/core: 4.2.3\r\n@angular/forms: 4.2.3\r\n@angular/http: 4.2.3\r\n@angular/platform-browser: 4.2.3\r\n@angular/platform-browser-dynamic: 4.2.3\r\n@angular/platform-server: 4.2.3\r\n@angular/router: 4.2.3\r\n@angular/cli: 1.1.2\r\n@angular/compiler-cli: 4.2.3\r\n@angular/language-service: 4.2.3\r\n```\r\n\r\n### Desired functionality.\r\n\u003c!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n-->\r\n\r\nCircular dependency bugs are easy to introduce and can be hard to detect and troubleshoot. Sometimes everything works fine, but in a few cases I've had module imports show up as `undefined` at runtime. Last time it happened, it was only in AOT mode, so I didn't catch it initially.\r\n\r\nIt would be helpful if the CLI included a plugin that warns you if circular dependencies are detected and logs the modules that are part of the cycle.\r\n\r\n### Mention any other details that might be useful.\r\n\u003c!-- Please include a link to the repo if this is related to an OSS project. -->\r\n\r\nI used [this plugin](https://github.com/aackerman/circular-dependency-plugin) and it found several issues in my project.\r\n\r\nHowever, I couldn't configure Webpack to use the plugin without ejecting the config, and I'd rather not have to do that each time I need to debug an issue like this.","author":{"url":"https://github.com/eppsilon","@type":"Person","name":"eppsilon"},"datePublished":"2017-06-19T19:31:02Z","url":"https://github.com/angular/angular-cli/issues/6739"}
| 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:bbd6a851-2abb-da1d-a92c-eadb07225af3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85A6:91CF4:16AA440:1DFFAD1:6B013049 |
| html-safe-nonce | 802f0afb7a90aac80f7f4d0de0af8d558402b6625940884a18796b92a26f6abf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUE2OjkxQ0Y0OjE2QUE0NDA6MURGRkFEMTo2QjAxMzA0OSIsInZpc2l0b3JfaWQiOiIxOTk0NTU1MzkwNjkxNDU1MDQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 90458f810b58446244faf08f8761bf367c5cb80885f66790a25bdcbc6d68950a |
| hovercard-subject-tag | issue:236997752 |
| 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/6739/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b43f5b3bb549e0aaaee74fd4aa6d464bfae016b9b3e1f6a557d16069f5cd706/angular/angular-cli/issues/6739 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b43f5b3bb549e0aaaee74fd4aa6d464bfae016b9b3e1f6a557d16069f5cd706/angular/angular-cli/issues/6739 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Versions. @angular/cli: 1.1.2 node: 6.11.0 os: darwin x64 @angular/an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eppsilon |
| 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