yllieth / angular2-truncate

[Lib] A pipe to truncate strings in Angular2 project
MIT License
4 stars 7 forks source link

Not compatible with AOT #4

Open nikclayton opened 7 years ago

nikclayton commented 7 years ago

Please could you package up the library in a way that's compatible with AOT (https://angular.io/docs/ts/latest/cookbook/aot-compiler.html). Thanks.

mounirrquiba commented 7 years ago

You can use https://github.com/doorgets/ng-truncate for AOT ;)

aluanhaddad commented 7 years ago

@mounirrquiba That package has a lot of code for something relatively simple like this.