AhamedBilal / ngx-photo-editor

Angular Photo Editor
https://ahamedbilal.github.io/ngx-photo-editor/
MIT License
25 stars 26 forks source link

Import of cropper.css cannot be resolved #40

Open rrezartamuja2019 opened 3 months ago

rrezartamuja2019 commented 3 months ago

Hello, we are receiving this error when trying to build the application: Could not resolve "~cropperjs/dist/cropper.css"

We can temporality bypass this by replacing '~' with '../' in the first line of the file ngx-photo-editor/photo-editor.css, but this is not the best and final solution.

These are our app's main versions:

Node: 18.16.1 Angular: 17.3.12 Package Manager: pnpm 9.0.5 Angular CLI: 17.3.8

Can you make an update to substitute the '~' with '../' or if you know any other solution we can use to bypass this problem.

This is the second application using 'Image Cropper for Angular'. Thank you for this useful and powerful module.

maxbauer commented 1 month ago

@rrezartamuja2019 see #38