BREAKING CHANGE: web worker platform is now exported via separate packages. Please use @angular/platform-webworker and @angular/platform-webworker-dynamic
		
			
				
	
	
		
			29 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
/**
 | 
						|
 * @license
 | 
						|
 * Copyright Google Inc. All Rights Reserved.
 | 
						|
 *
 | 
						|
 * Use of this source code is governed by an MIT-style license that can be
 | 
						|
 * found in the LICENSE file at https://angular.io/license
 | 
						|
 */
 | 
						|
 | 
						|
import {ResourceLoader, platformCoreDynamic} from '@angular/compiler';
 | 
						|
import {ClassProvider, ExistingProvider, FactoryProvider, PlatformRef, Provider, TypeProvider, ValueProvider, createPlatformFactory} from '@angular/core';
 | 
						|
 | 
						|
import {INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from './platform_providers';
 | 
						|
import {Console} from './private_import_core';
 | 
						|
import {CachedResourceLoader} from './resource_loader/resource_loader_cache';
 | 
						|
 | 
						|
export * from './private_export';
 | 
						|
 | 
						|
/**
 | 
						|
 * @experimental
 | 
						|
 */
 | 
						|
export const RESOURCE_CACHE_PROVIDER: Provider[] =
 | 
						|
    [{provide: ResourceLoader, useClass: CachedResourceLoader}];
 | 
						|
 | 
						|
/**
 | 
						|
 * @experimental API related to bootstrapping are still under review.
 | 
						|
 */
 | 
						|
export const platformBrowserDynamic = createPlatformFactory(
 | 
						|
    platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
 |