Update to Angular 5 and perform a *real* production build.
This commit is contained in:
		
							parent
							
								
									aca588f6b5
								
							
						
					
					
						commit
						0f857d4770
					
				
					 5 changed files with 1098 additions and 403 deletions
				
			
		|  | @ -1,15 +1,13 @@ | |||
| import {Component, OnInit} from '@angular/core'; | ||||
| import {ConverterRegistryService} from './converterregistry.service'; | ||||
| import {InputComponentManagerService} from './inputcomponentmanager.service'; | ||||
| import {NativeLibraryWrapperService} from './nativelibrarywrapper.service'; | ||||
| import {Step} from './step'; | ||||
| import {Converter} from './converter/converter'; | ||||
| 
 | ||||
| @Component({ | ||||
|   selector: 'app-root', | ||||
|   templateUrl: './app.component.html', | ||||
|   styleUrls: ['./app.component.scss'], | ||||
|   providers: [ConverterRegistryService, InputComponentManagerService, NativeLibraryWrapperService] | ||||
|   styleUrls: ['./app.component.scss'] | ||||
| }) | ||||
| export class AppComponent implements OnInit { | ||||
|   public steps: Step[] = []; | ||||
|  |  | |||
|  | @ -1,10 +1,10 @@ | |||
| import {BrowserModule} from '@angular/platform-browser'; | ||||
| import {NgModule} from '@angular/core'; | ||||
| import {FormsModule} from '@angular/forms'; | ||||
| import {HttpModule} from '@angular/http'; | ||||
| 
 | ||||
| import {AppRoutingModule} from './app-routing.module'; | ||||
| import {AppComponent} from './app.component'; | ||||
| import {ConverterRegistryService} from './converterregistry.service'; | ||||
| import {InputComponentManagerService} from './inputcomponentmanager.service'; | ||||
| import {NativeLibraryWrapperService} from './nativelibrarywrapper.service'; | ||||
| import {FormsModule} from '@angular/forms'; | ||||
| 
 | ||||
| @NgModule({ | ||||
|   declarations: [ | ||||
|  | @ -12,11 +12,9 @@ import {AppComponent} from './app.component'; | |||
|   ], | ||||
|   imports: [ | ||||
|     BrowserModule, | ||||
|     FormsModule, | ||||
|     HttpModule, | ||||
|     AppRoutingModule | ||||
|     FormsModule | ||||
|   ], | ||||
|   providers: [], | ||||
|   providers: [ConverterRegistryService, InputComponentManagerService, NativeLibraryWrapperService], | ||||
|   bootstrap: [AppComponent] | ||||
| }) | ||||
| export class AppModule { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue