Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to integrate Google Closure Compiler as a build step in Visual Studio 2010

Is there any reference or tutorial for this? And if it's possible, have the javascript file being built only if the file is modified.

like image 698
Stan Avatar asked Jun 07 '11 01:06

Stan


1 Answers

You might be able to try this:

http://closurecompiler.codeplex.com/documentation,

But I couldn't get it to work and ended up writing a batch file and hooked it up as a post-build process in the project properties. I've been pretty happy with that solution as it allows me to easily (and in a more standardized fashion) tweak the closure parameters. And any errors from it get reported to you whenever you build.

like image 161
Kirk Woll Avatar answered Nov 19 '22 10:11

Kirk Woll