Hi,

I have problem with my Ext application in production mode.

This is debug-mode html.

Code:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">        
        <link rel="stylesheet" href="extjs/resources/css/ext-all-gray.css" />
    </head>
    <body>        
        <script src="extjs/ext-debug.js"></script>        
        <script src="app.js"></script>
    </body>
</html>
I'm using Ext.require & Ext.syncRequire to load classes.

This is production-mode html:
Code:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">        
        <link rel="stylesheet" href="/extjs/resources/css/ext-all-gray.css" />
    </head>
    <body>            
        <script src="extjs/ext.js"></script>
        <script src="app-all.js"></script>                                
    </body>
</html>
Every classes and app.js are in app-all.js, but every classes are still loaded separately from disk.

What am I doing wrong?

Thanks i advance!