akserg / ng2-slim-loading-bar

Angular 2 component shows slim loading bar at the top of the page.
MIT License
358 stars 93 forks source link

moduleId crashes WebPack builds #20

Closed zsparal closed 8 years ago

zsparal commented 8 years ago

The moduleId added in ae237f0 crashes WebPack builds with the following error message:

Uncaught TypeError: t.match is not a function

While this is a known bug in the angular compiler (angular/angular#10626), it's still something worth noting I think.

akserg commented 8 years ago

Will module.id.toString() enought to fix your problem?

akserg commented 8 years ago

Please use 2.0.2 to confirm that the issue was fixed.

clementbrunel commented 8 years ago

Works with webpack 2.1.0-beta.21 and ng2-slim-loading-bar 2.0.2. Thanks you :)