Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Minification Problem #820


User avatar
0
marcosli created

Hi,

My application is SPA and I'm having problems with minification when deploying to Azure. Angular cant resolve dependency injection because the names are changed. So i tried to explicitly Inject Dependencies or using an inline annotation, just like is said in that page [https://scotch.io/tutorials/declaring-angularjs-modules-for-minification]) but didnĀ“t work for me.

For the moment, i'm clearing the transformation by doing this in the Bundles:

        foreach (var item in bundles)
        {
            item.Transforms.Clear();
        }

Anyone is have this problem when deploying to Azure?


2 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    I don't think it's related to Azure. But how do you inject dependencies? Can you share an example.

  • User Avatar
    0
    marcosli created

    I'll try to create a sample to demonstrate that problem

    Thanks Halil