-
Notifications
You must be signed in to change notification settings - Fork 12k
Environment Variables #8418
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
Comments
You can have multiple environments. make a new environment
and run it wit h |
Yes, But that requires creating different files, I would like for example to set a URL that changes every build, it would be very impractical to create a new environment file every time. |
up? |
Duplicate of #4419 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
@angular/cli: 1.4.6
node: 6.10.3
os: win32 x64
@angular/animations: 4.4.6
@angular/cdk: 2.0.0-beta.12-a7faebc
@angular/common: 4.4.6
@angular/compiler: 4.4.6
@angular/core: 4.4.6
@angular/forms: 4.4.6
@angular/http: 4.4.6
@angular/material: 2.0.0-beta.12-a7faebc
@angular/platform-browser: 4.4.6
@angular/platform-browser-dynamic: 4.4.6
@angular/router: 4.4.6
@angular/cli: 1.4.6
@angular/compiler-cli: 4.4.6
@angular/language-service: 4.4.6
typescript: 2.6.0-rc
Repro steps.
There is no way to pass a variable from ng command to application, like in node applications.
Desired functionality.
To have something like
The text was updated successfully, but these errors were encountered: