From 8f754f63894ec583b489d2cac2750c51d971bce2 Mon Sep 17 00:00:00 2001 From: Sergey Akopkokhyants Date: Mon, 19 Sep 2016 17:51:51 +0200 Subject: [PATCH] fix(): Fixed moduleId crashes WebPack builds --- src/slim-loading-bar.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slim-loading-bar.component.ts b/src/slim-loading-bar.component.ts index d1f22c6..09448ba 100644 --- a/src/slim-loading-bar.component.ts +++ b/src/slim-loading-bar.component.ts @@ -11,7 +11,7 @@ import {isPresent} from './slim-loading-bar.utils'; * A Slim Loading Bar component shows message loading progress bar on the top of web page or parent component. */ @Component({ - moduleId: module.id, + moduleId: module.id.toString(), selector: 'ng2-slim-loading-bar', template: `