@charlesvila wrote:
Hello everyone,
after having optimized my images and my assets folder (40mb now), my application still seems too heavy ( < 400 mb)
and i don’t understand why, is it the node_modules folder?
this my ionic info :Ionic: ionic (Ionic CLI) : 4.9.0 (/usr/local/lib/node_modules/ionic) Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.2.2 Cordova: cordova (Cordova CLI) : 8.0.0 Cordova Platforms : ios 4.5.5 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 24 other plugins) System: ios-deploy : 1.9.2 NodeJS : v8.11.2 (/usr/local/bin/node) npm : 6.7.0 OS : macOS High Sierra Xcode : Xcode 10.1 Build version 10B61
i tried to make a
ionic cordova build --prod
but i got this error for somes pages ( i dont use lazy loading)typescript error Type ... is part of the declarations of 2 modules: AppModule in ... and ComponentsModule in /Users/.../components.module.ts!
thx a lot
Posts: 1
Participants: 1