Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(@angular/cli): use environmentSource key for environments #4705

Merged
merged 3 commits into from Feb 16, 2017

Commits on Feb 15, 2017

  1. feat(@angular/cli): use environmentSource key for environments

    Heavily based on @jsanchezgarcia work in angular#4476.
    
    Fix angular#3857
    
    BREAKING CHANGE:
    
    A new environmentSource entry replaces the previous source entry inside environments.
    
    To migrate the code follow the example below:
    
    Before:
    ```
    "environments": {
      "source": "environments/environment.ts",
      "dev": "environments/environment.ts",
      "prod": "environments/environment.prod.ts"
    }
    ```
    
    After:
    ```
    "environmentSource": "environments/environment.ts",
      "environments": {
      "dev": "environments/environment.ts",
      "prod": "environments/environment.prod.ts"
    }
    ```
    filipesilva committed Feb 15, 2017
    Configuration menu
    Copy the full SHA
    1b3a5dd View commit details
    Browse the repository at this point in the history
  2. add migration message

    filipesilva committed Feb 15, 2017
    Configuration menu
    Copy the full SHA
    cbde769 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2017

  1. Configuration menu
    Copy the full SHA
    ddd6af2 View commit details
    Browse the repository at this point in the history