View Full Version : Bundle and minify all js files but still loading separate files

25 Jul 2012, 1:15 AM
Hi all,

I am using the bundle and minification of ASP 4 to get all js files as an one-line file. At the browser, I see that it works but it also loads separate js files. As I understand, Extjs won't reload the class that has been already loaded.

@Note: Previously, I have used JSBuilder tool to merge files and it was fine. However, there are some disadvantages with the tool such as:
- We have to manage the jsb file.
- We have to run the tool before deploying. (It could be executed like an automatic task in the build system).

That's why I have moved to ASP 4. It was bundled and minified automatically.

Please help me! Thx a lot!


25 Jul 2012, 2:05 AM
Pls ignore I understood why it was like that. Because the order of classes in the minified file is not similar to the expected files in the requires property in classes. Sorry for wasting your time reading my post.