Trying to do this with Grunt. I have a file structure like this:
/app
--app.js
--/module1
----module1.js
----module1Model.js
--/module2
----module2.js
----module2Model.js
How can I concatenate & minify each module into one file so it looks like:
/app
--app.min.js
--module1.min.js
--module2.min.js
We want this to be scalable so when we add module3, 4 it'll still work. Thank you for your help!