mirror of https://github.com/apache/nifi.git
NIFI-13391: (#8960)
- Setting up different environment files to configure ngrx store.
This commit is contained in:
parent
3aa4ff9d56
commit
b1500ad031
|
@ -41,7 +41,13 @@
|
|||
"extractLicenses": false,
|
||||
"sourceMap": true,
|
||||
"namedChunks": true,
|
||||
"outputHashing": "none"
|
||||
"outputHashing": "none",
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "apps/nifi/src/environments/environment.ts",
|
||||
"with": "apps/nifi/src/environments/environment.development.ts"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "production"
|
||||
|
|
|
@ -23,7 +23,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|||
import { StoreModule } from '@ngrx/store';
|
||||
import { EffectsModule } from '@ngrx/effects';
|
||||
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
|
||||
import { environment } from './environments/environment';
|
||||
import { environment } from '../environments/environment';
|
||||
import { HttpClientModule, HttpClientXsrfModule, provideHttpClient, withInterceptors } from '@angular/common/http';
|
||||
import { NavigationActionTiming, RouterState, StoreRouterConnectingModule } from '@ngrx/router-store';
|
||||
import { rootReducers } from './state';
|
||||
|
|
|
@ -15,19 +15,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
// This file can be replaced during build by using the `fileReplacements` array.
|
||||
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
|
||||
// The list of file replacements can be found in `angular.json`.
|
||||
|
||||
export const environment = {
|
||||
production: false
|
||||
};
|
||||
|
||||
/*
|
||||
* For easier debugging in development mode, you can import the following file
|
||||
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
|
||||
*
|
||||
* This import should be commented out in production mode because it will have a negative impact
|
||||
* on performance if an error is thrown.
|
||||
*/
|
||||
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.
|
Loading…
Reference in New Issue