I am looking to minify all of my .js and .css files for my site. They are located in a few separate directories and there are a lot of them. I am looking to use this Minify code.
Using the minify builder, I can manually add each .js and .css file to the string or I can combine them into an array as a group in the groupsConfig.php file.
That is all manual per file, and when .js files are added/removed/changed a lot from all of the developers the groupsConfig.php arrays get difficult to keep up with.
Is there a way to use minify to dynamically grab all .js or .css files from a particular directory and minify them? This way I won't have to worry about keeping the groupsConfig.php file up to date. I could just specify the js directories and that's the end of the config.
I'm also open to suggestions for other code to use instead of Minify. I am looking to minimize all .js and .css files to help SEO of my site. I am utilizing straight javascript, jquery, and angularjs.