refactor(webworkers): move webworkers to separate @angular/platform-webworker and @angular/platform-webworker-dynamic packages
BREAKING CHANGE: web worker platform is now exported via separate packages. Please use @angular/platform-webworker and @angular/platform-webworker-dynamic
This commit is contained in:

committed by
Victor Berchet

parent
0f68351979
commit
71ae2c4525
@ -6,8 +6,7 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {WORKER_UI_LOCATION_PROVIDERS} from '@angular/platform-browser';
|
||||
import {bootstrapWorkerUi} from '@angular/platform-browser-dynamic';
|
||||
import {WORKER_UI_LOCATION_PROVIDERS, bootstrapWorkerUi} from '@angular/platform-webworker';
|
||||
|
||||
export function main() {
|
||||
bootstrapWorkerUi('loader.js', WORKER_UI_LOCATION_PROVIDERS);
|
||||
|
Reference in New Issue
Block a user