开发者

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

开发者 https://www.devze.com 2023-03-11 17:00 出处:网络
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:

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消