Skip to content

Feature Request: Allow comments in proxy.conf.json #21862

Closed
@cipchk

Description

@cipchk

🚀 Feature request

Command (mark with an x)

  • new

Description

Putting comments in proxy.conf.json will not work. like this:

// This is comments
{
}

Run after:

ng s --proxy-config proxy.conf.json

Then throw error:

An unhandled exception occurred: /Users/cipchk/Desktop/work/ng-alain/proxy.conf.json: Unexpected token / in JSON at position 0
See "/private/var/folders/gq/9pcvzdt577729qn7763c26hm0000gp/T/ng-5vL1QE/angular-errors.log" for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions