Skip to content

overriding/extending devServer properties doesnt workΒ #21

@christianscharr

Description

@christianscharr

I am trying to enhance the default CLI configuration of webpack-dev-server. I need to set the following properties:

  • devServer
    • historyApiFallback: true
    • headers

What I am seeing is. that ngw successfully injects this but it seems that @angular/cli overrides it afterwards... It never gets recognized by webpack-dev-server, whatever property I am setting inside "devServer"

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions