I've just scaffolded an Angular app using Yeoman. I've noticed that the build
task does several things by default, including minifying and concatenating js files.
I'd like to have a simpler build task that didn't do any minifying or concatenation, and, instead, only did the following two things:
- compile my .scss into .css
- copy a working app into my distribution directory
Can anyone help me write a grunt task that will do (only) these two things?
Many thanks.
Ok, I've edited the default grunt file so that it does what I want.
My solution involved writing tasks called
copy:devDist
andcompass:devDist
, and then combining them into adevDist
task.Now running
grunt devDist
compiles my css and puts a fully functional app into my dist folder. Excellent. :)