Reputation: 18791
I'm doing basic html/css/js project using the yeoman generator-webapp
. My project has nothing that would require a server to run it. I'm using yeoman to quickly scaffold projects and minify everything. Problem being is that I must pass this work off to a designer/art director for review and they will not have a yeoman env. to view the project. What command can I call similar to grunt build
that will minify all my assets but not require me to run a grunt serve
from my built distribution folder.
I just want anyone to beable to run the dist from clicking on the index.html
Upvotes: 0
Views: 59
Reputation: 5770
I think you have the order confused. You use grunt serve
while you develop, then grunt build
(or simply, grunt
) when you want to make a deployable version of your site. What you do with that dist
folder is up to you.
Upvotes: 2