Skip to content

Feature Request : ng build to include a --base-href <base> #1064

@timlevett

Description

@timlevett

Much like what happens as part of github deploy, have a feature that you can supply a base-href that will be added to the index.html during the ng build command

Usage : ng build --base-href <base>
Example : ng build --base-href home
Replaces <base href="/"> with <base href="/home"> in index.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfuleffort1: easy (hours)featureIssue that requests a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions