Skip to content

Proposal: add server config for static mocks via webpack-dev-server #4367

Description

@kdimatteo

When developing large apps which require many static mocks, we need to run a separate instance of a server so that we can proxy API calls so an endpoint which return known results.

Since ng serve already invokes webpack-dev-server, we just need a way to pass a setup() method (webpack docs) to handle the routing.

...this save us from spinning up a second server.

PR is open, hoping to get some perspective whether this approach makes sense.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions