ngx-envconfig
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "ngx-envconfig", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Configuration utility for Angular based on the environment variables ", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -13,2 +13,9 @@ # ngx-envconfig | ||
### Build Environments | ||
- `ng build --env=dev` builds for development environment. This is the default if you don't specify env value. | ||
- `ng build --env=staging` builds for staging environment. | ||
- `ng build --env=prod` builds for production environment. | ||
## ConfigModule | ||
@@ -137,3 +144,3 @@ | ||
```javascript | ||
// ./environments/environment.development.ts | ||
// ./environments/environment.ts | ||
export const environment = { | ||
@@ -148,3 +155,3 @@ state: 'development' | ||
import { NgModule } from '@angular/core'; | ||
import { ConfigModule, ConfigService } from './config/config.service'; | ||
import { ConfigModule, ConfigService } from 'ngx-envconfig'; | ||
@@ -168,8 +175,1 @@ import { environment } from '../src/environments/environment'; // <-- add this line | ||
### Build Environments | ||
- `ng build --env=dev` builds for development environment. This is the default if you don't specify env value. | ||
- `ng build --env=staging` builds for staging environment. | ||
- `ng build --env=prod` builds for production environment. | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48779