Skip to content

prod environment file not use when I build with --aot flag #4375

Closed
@JanickRoss

Description

@JanickRoss

when I buil with this command : ng build --target=production --environment=prod --aot

The environment file used is not the environment.prod.ts file but the environment.ts

The problem is just when I put the --aot flag

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