Angular-cli: Feature request: Mechanism for extending and overriding CLI-generated Webpack config

Created on 6 Dec 2016  路  3Comments  路  Source: angular/angular-cli

There's a pretty consistent trend of issues requiring tweaks to Webpack config. While many of these kinds of things are within the realm of sensible defaults, there are two presenting issues with the current opaque approach:

  • Non-standard, or otherwise complex projects quickly run into Webpack config issues
  • Issues that could be addressed with simple Webpack config changes are now subject to the issue > discussion > pull request > probably more discussion > acceptance > release cycle.

Please consider a mechanism permitting override and extension of the generated Webpack config object. Perhaps a webpack field in angular-cli.json or similar.

Most helpful comment

lol so what you're saying is that angular-cli is worthless for non trivial applications and my time would be better spent with something else?

All 3 comments

The CLI tool right now is not fitted to be used for complex projects or non standard ones, and we're okay. If your project is complex, you should probably control the pipeline more. You can still use the CLI without ng build or ng serve, to generate your files and tests.

lol so what you're saying is that angular-cli is worthless for non trivial applications and my time would be better spent with something else?

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rajjejosefsson picture rajjejosefsson  路  3Comments

hartjo picture hartjo  路  3Comments

ericel picture ericel  路  3Comments

hareeshav picture hareeshav  路  3Comments

jmurphzyo picture jmurphzyo  路  3Comments