-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building a library alongside with Ivy and non-Ivy transpilation for retrocompatibility #95
Comments
Successfull workaround: diff --git a/packages/app/tsconfig.json b/packages/app/tsconfig.json
index f9f9325..95e65ed 100644
--- a/packages/app/tsconfig.json
+++ b/packages/app/tsconfig.json
@@ -12,7 +12,8 @@
],
"@ngxs/*": [
"./node_modules/@angular/*"
- ]
+ ],
+ "ngx-image-compress": ["node_modules/ngx-image-compress-legacy"]
},
},
"angularCompilerOptions": {
|
dfa1234 any updates on this? encountering same issue. |
@heyjudemaldicas @bh @arunreghu it's not impossible to fix this very soon, but it's somewhat complicated. |
This is done. Please use npm install ngx-image-compress@8.12.2 |
@davi01100100 @gethinoakes @dfa1234 @byronigoe @davi01100100 I am using ngx-image-compress-legacy plugin for my angular project(Angular verision 8) . Plugin works in local host when ng serve. but it throws error when trying to take production build(ng build --prod).
ERROR in ./src/app/admin/transactions/edit-transaction-modal.component.ngfactory.js Module not found: Error: Can't resolve 'ngx-image-compress' in 'C:\angular\src\app\admin\transactions'
I import 'NgxImageCompressService' in my component.ts and module file like following.
in component file
in module file
Its Works in local(ng serve) but throw error in build(ng build --prod).
The text was updated successfully, but these errors were encountered: