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

Minification Failed #3306


User avatar
0
moustafa created

Hello everyone before i type this post i searched the entire forum for related posts and i wondering why no one had been noticed this problem before , maybe i failed to search properly and i will do again ;)

to follow me throw this issue i prefer to use the original template of ASP.NET Zero without doing any changes so we can easily identify the cause of problem make sure that you run the application in release mode so css and js files got bundled and minificated actually nothing is wrong with bundling but the real problem is Minification process if you try to open the link of all ccs & js bundles in separated page you will see the following error Minification failed. Returning unminified contents. :shock: did anyone face this problem except me ? so i tried to figure out why , for css bundles its easy to detect the errors and fix the problem but it's not easy at all to do the same for js bundles i notices that for the bundle named "libs" it throw many errors like run-time error JS1019: Can't have 'break' outside of loop: break a after many tries when i remove the angular.min.js file the error is gone but as you know your application will not work again :D

so who can help us to solve these problems as this issue affect application performance badly


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you create an issue here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues">https://github.com/aspnetzero/aspnet-zero/issues</a> and we will check this.

    Thanks.

  • User Avatar
    0
    moustafa created

    done [https://github.com/aspnetzero/aspnet-zero/issues/490])

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks,

    We will try to fix it as soon as possible.