0

Would running your scripts through the Closure Compiler make a difference in PhoneGap apps? Or does PhoneGap do something similar when you compile?

1 Answers1

0

Yes, running your scripts through the Google Closure Compiler would make a difference. The code would be smaller and thereby parsed quicker. As well as the other benefits that the Closure Compiler gives you with regards to code optimization.

No, PhoneGap does not do any concatenation or optimization of your JavaScript source code.

Simon MacDonald
  • 23,253
  • 5
  • 58
  • 74