Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 565

Combination and minification of javascript files

$
0
0

Hello,

We are trying to switch from a relatively manual deployment to automated web deploys with TFS.  Our old process had a proj file that did the build, ran some tests (jsLint), combined some .js files, performed minification, and then robocopied the resulting files.  The new process is creating a site, but the javascript operations (jsLint, combine, minify) aren't being performed.  We don't want to have to add the output artifacts to the solution or source control, nor do we want to remove the raw javascript files from the solution.

I think that the javascript operations should happen post-build, but before the drop package is created.  That seems like it makes sense.  Is that supported?  How can I insert logic to generically perform those actions?  Is there an example or documentation on how to do that?

If not, what is the 'standard' way of handling javascript combination and minification during a TFS web deploy?

Thanks,

Brian

 


Viewing all articles
Browse latest Browse all 565

Trending Articles