Swamping manifest file based on environment in deployment

Discussão em 'Angular' iniciado por Adnan, Julho 23, 2025.

  1. Adnan

    Adnan Guest

    I would like to deploy a different manifest file to our staging and production environment. I wonder about using fileReplacement in Angular.json like this:

    "configurations": {
    "production": {
    "fileReplacements": [
    {
    "replace": "apps/store/src/manifest.webmanifest",
    "with": "apps/store/src/manifests/manifest.prod.webmanifest"
    }
    ],
    ....
    }


    Is this possible? if not, how can I do that?

    Thanks.

    Continue reading...

Compartilhe esta Página