I'm using filewatchers with the YUI compressor to compress JS & CSS files. I like to break up these types of files instead of having a single massive file, but I want to combine some of them to reduce the number of HTTP requests browsers have to make when loading my website.
Is there a way to have PhpStorm combine certain files and put the output into a new file automatically after minifying them?
For example, let's say I have these files:
And the first three are loaded throughout the entire site, so it makes sense to put them together to avoid three HTTP requests:
common.min.js + account.min.js + blog.min.js => global.min.js
If this simply isn't possible in PhpStorm, do you have any suggestions on how to deal with this?