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 jav开发者_如何学JAVAascript file being built only if the file is modified.
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.
精彩评论