adrael / ngx-tweet

Angular component for displaying a Twitter tweet
MIT License
1 stars 8 forks source link

Build with --prod and --aot does not work #1

Closed iamsvenh closed 6 years ago

iamsvenh commented 6 years ago

Describe the bug When I start a build with the --prod --aot flags, it will fail with the following error:

ERROR in : Unexpected value 'TweetModule in /node_modules/ngx-tweet/lib/ngx-tweet.module.d.ts' imported by the module 'MyModule in /myApp/app.module.ts'. Please add a @NgModule annotation.

To Reproduce Steps to reproduce the behavior:

ng build --prod --aot

adrael commented 6 years ago

Hi @Badmonky! I am glad to announce that the 2.0.0 is out!

One of the new things is your bug fix.

Enjoy, and happy tweeting!

iamsvenh commented 6 years ago

thank you. will upgrade to V2