From 141e23e43dd84d9568dc2f598c6ba025b75398ad Mon Sep 17 00:00:00 2001 From: Dominik Hardtke Date: Fri, 24 Nov 2017 07:46:58 +0100 Subject: [PATCH] fix(build): use individual RxJS imports for webpack treeshacking Fixes #731 --- lib/src/translate.service.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/src/translate.service.ts b/lib/src/translate.service.ts index c03d99aa..9fc97425 100644 --- a/lib/src/translate.service.ts +++ b/lib/src/translate.service.ts @@ -1,7 +1,13 @@ import {EventEmitter, Inject, Injectable, InjectionToken} from "@angular/core"; import {Observable} from "rxjs/Observable"; import {Observer} from "rxjs/Observer"; -import {concat, share, map, merge, switchMap, toArray, take} from "rxjs/operators" +import {concat} from "rxjs/operators/concat"; +import {share} from "rxjs/operators/share"; +import {map} from "rxjs/operators/map"; +import {merge} from "rxjs/operators/merge"; +import {switchMap} from "rxjs/operators/switchMap"; +import {toArray} from "rxjs/operators/toArray"; +import {take} from "rxjs/operators/take"; import {of} from "rxjs/observable/of"; import { MissingTranslationHandler,