lunargorge / ng2-handy-syntax-highlighter

Native Angular 2/4/5 component for Prismjs
http://highlighter.diamondtower.pl/
MIT License
3 stars 2 forks source link

Impossible to build with --aot with Angular 5.2.8 but works with 5.2.4 #3

Open Davilink opened 6 years ago

Davilink commented 6 years ago

When i use the Angular version 5.2.8, i get that problem : Unexpected value 'Ng2HandySyntaxHighlighterModule in {...}/node_modules/ng2-handy-syntax-highlighter/src/library/index.d.ts' imported by the module {...}. Please add a @NgModule annotation.

but when i use the version 5.2.4, i don't have any problems.

Davilink commented 6 years ago

I think is the same issue has described here : https://github.com/PointInside/ng2-toastr/issues/48

lunargorge commented 6 years ago

Here is issue that is related: https://github.com/dherges/ng-packagr/issues/594

lunargorge commented 6 years ago

It should work at the moment (Angular 5.2.9)

SaturnTeam commented 6 years ago

Not working with 5.2.9