Angular-cli: Easy proxy config with defaults or inline

Created on 9 May 2017  路  4Comments  路  Source: angular/angular-cli

Bug Report or Feature Request

  • [ ] bug report -> please search issues before submitting
  • [x] feature request

Versions.

@angular/cli: 1.0.2
node: 7.9.0
os: darwin x64
@angular/animations: 4.1.0
@angular/common: 4.1.0
@angular/compiler: 4.1.0
@angular/core: 4.1.0
@angular/forms: 4.1.0
@angular/http: 4.1.0
@angular/platform-browser: 4.1.0
@angular/platform-browser-dynamic: 4.1.0
@angular/router: 4.1.0
@angular/cli: 1.0.2
@angular/compiler-cli: 4.1.0

Desired functionality.

Level 1
Allow us to specify --proxy-conf command line flag through .angular-cli.json defaults mechanism.

Level 2
Allow inlining of proxy config into .angular-cli.json to reduce the amount of files in the root.

easy (hours) help wanted 3 (nice to have) feature

All 4 comments

I think the first bit is a useful setting for projects that always need to be ran with that proxy. I'd prefer not to inline it though, since it can also be a .js file and it could massively complicate the CLI json file schema.

I submitted a PR for this HTH https://github.com/angular/angular-cli/pull/6493

@hansl @Brocco This can be closed (it was already merged by #6493 )

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

brtnshrdr picture brtnshrdr  路  3Comments

JanStureNielsen picture JanStureNielsen  路  3Comments

purushottamjha picture purushottamjha  路  3Comments

hartjo picture hartjo  路  3Comments

hareeshav picture hareeshav  路  3Comments