Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通过 Closure Compiler 运行脚本会对 PhoneGap 应用程序产生影响吗?或者PhoneGap在编译时会做类似的事情吗?
是的,通过 Google Closure Compiler 运行您的脚本会有所作为。代码会更小,从而解析得更快。以及闭包编译器在代码优化方面为您提供的其他好处。
不,PhoneGap 不会对您的 JavaScript 源代码进行任何连接或优化。