Base solution for your next web application
Open Closed

Unnecessary Metronic files #4794


User avatar
0
antonis created

Hi,

I am about to build for production (asp.net core and angular 2) and I found out that src/asset/metronic contains a lot of files which increase the app size. Can you tell me which ones are not used at all by app?

Thanks


7 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    hi

    please follow the below thread. @alexanderpilhar is sharing his experiences on lightweight Angular client.

    #4596

  • User Avatar
    0
    antonis created

    I read the thread. The guy said that he removed metronic in order to use bootstrap-material. So this is not my case.

    Please do let me know which files are not used from the metronic theme as it seems that they are huge and they have a performance impact on the load time.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    @antonis you can check angular-cli.json for the used files and remove the rest. We should do the same.

  • User Avatar
    0
    antonis created

    So that means nothing in used under that folder? Could you be more specific please. These files are killing my performance and performance is so crucial. It is pity to include files that are not used at all and they are just leftovers.

  • User Avatar
    0
    alper created
    Support Team

    let's clarify the things. not-used packages never slows you down. but if you want to get rid of those packages, you can see the in-use ones in angular-cli.json file. delete the rest

  • User Avatar
    0
    BobIngham created

    @antonis has a good point. Why does the build process include all the demo projects for Metronic? I also noted thye big size of the assets folder during production build.

  • User Avatar
    0
    alper created
    Support Team

    AFAIK most of the packages are being used in the project. But let us check.