Enlcxx / angular2-resizing-cropping-image

Resize, rotate and crop images(cropper) for Angular 8
https://alyle.io/components/image-cropper
32 stars 6 forks source link

Fail to build ng5 --prod app #10

Closed alcasas closed 6 years ago

alcasas commented 6 years ago

Hello, when I try to build my ng5 app with --prod flag I'm getting something like this:

ERROR in : Unexpected value 'LyResizingCroppingImageModule in /Users/username/Documents/projectname/node_modules/angular2-resizing-cropping-image/index.d.ts' imported by the module 'MyModule in /Users/username/Documents/software-projectname/src/app/my-module/MyModule.module.ts'. Please add a @NgModule annotation.

Could you update it or tell me how to fix it?

alyleui commented 6 years ago

Hi! This repository is now in https://github.com/A-l-y-l-e/Alyle-UI/pull/10 demo