I want to generate a js only for my MVC app. In the deploy file I will be able to include the Ext library and my compiled files. I tried the exclude param but it did not work, my all-classes.js contains also the Ext library.

Are there any special steps I must follow in order to achieve that?