1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Do default angular.json options override?

Discussão em 'Angular' iniciado por danday74, Outubro 17, 2024 às 12:13.

  1. danday74

    danday74 Guest

    My simplified angular.json config is below. I am using Angular 16. I understand the default for outputHashing in Angular is none.

    Given the below config, if I execute:

    ng build --configuration=development


    Will outputHashing: all be applied or will outputHashing: none be applied?

    This article doesn't seem to clarify the position too clearly.

    {
    "projects": {
    "myproject": {
    "architect": {
    "build": {
    "options": {
    "outputHashing": "all"
    },
    "configurations": {
    "production": {
    "outputHashing": "media"
    },
    "development": {
    }
    }
    },
    "serve": {},
    "extract-i18n": {},
    "test": {},
    "lint": {}
    }
    }
    }
    }

    Continue reading...

Compartilhe esta Página