Title: Eject to custom webpack configuration file · Issue #6731 · angular/angular-cli · GitHub
Open Graph Title: Eject to custom webpack configuration file · Issue #6731 · angular/angular-cli
X Title: Eject to custom webpack configuration file · Issue #6731 · angular/angular-cli
Description: CLI tool for Angular. Contribute to angular/angular-cli development by creating an account on GitHub.
Open Graph Description: CLI tool for Angular. Contribute to angular/angular-cli development by creating an account on GitHub.
X Description: CLI tool for Angular. Contribute to angular/angular-cli development by creating an account on GitHub.
Opengraph URL: https://github.com/angular/angular-cli
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Eject to custom webpack configuration file","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@angular/cli: 1.1.2 (e)\r\nnode: 6.9.5\r\nos: win32 x64\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/router: 4.2.3\r\n@angular/cli: 1.1.2\r\n@angular/compiler-cli: 4.2.3\r\n\r\n### Repro steps.\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\n\r\n\r\n### The log given by the failure.\r\n\u003c!-- Normally this include a stack trace and some more information. -->\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\nI maintain different webpack configuration files for the needs of my project (2 for development and 2 for production). One of the development files is the default `webpack.config.js` which I use to merge changes back to the remaining ones, when a new version of CLI is released. That is, I run `ng eject` each time to apply the changes in the default config, inspect those changes and apply them to the other files by hand. I follow this process in order not to mess up my custom configuration in the webpack configuration files. It would be really handy, if I could define the target config file of the eject command such as: `ng eject --config=\u003cthe config file>` and have the changes directly applied to the configuration files.\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\n","author":{"url":"https://github.com/bampakoa","@type":"Person","name":"bampakoa"},"datePublished":"2017-06-19T09:40:11Z","url":"https://github.com/angular/angular-cli/issues/6731"}
| 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 | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:afb1c16c-6b97-0ced-a63b-24e33fc75fd5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96C4:6DC60:1A46AC:20E5BB:6B00FB26 |
| html-safe-nonce | 503de4e24f474e642312ab4ba9d631af7d23fe5c811be76d26a1b0f27272bd16 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkM0OjZEQzYwOjFBNDZBQzoyMEU1QkI6NkIwMEZCMjYiLCJ2aXNpdG9yX2lkIjoiODU5NTY1NTU0MTc3MzEwNTk1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 27da4b14ffb0ca94d108bfe5c32b05048cf9cbf38ef84acdf6892a3daf71d786 |
| hovercard-subject-tag | repository:36891867 |
| 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/angular/angular-cli/issues/6731 |
| twitter:image | https://repository-images.githubusercontent.com/36891867/7600907d-5c07-47a5-a7b5-80b9c8922d6c |
| twitter:card | summary_large_image |
| og:image | https://repository-images.githubusercontent.com/36891867/7600907d-5c07-47a5-a7b5-80b9c8922d6c |
| og:image:alt | CLI tool for Angular. Contribute to angular/angular-cli development by creating an account on GitHub. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| turbo-cache-control | no-cache |
| 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 | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width