Closure compiler tips

32 views
Skip to first unread message

Raul Flores, Jr.

unread,
Dec 16, 2019, 11:40:00 AM12/16/19
to Google Apps Script Community
I've tested out using the closure compiler on a portion of a sheets add-on and it works great for simple optimization mode (2nd of 3 modes).

However, I'd like to also try advanced mode; and, that's where I'm stuck.

Any tips for defining the Google APIs as externs?

Per instructions Advanced Compilation and Externs, i'd have to define each unique call as an extern. Are there any shortcuts to make each scope extern? Or something similar?

Very curious to try.

Thanks,
rudy in dallas, tx

Again, this is for a standalone script for a sheets add-on

Alex

unread,
Dec 17, 2019, 8:58:56 AM12/17/19
to Google Apps Script Community
On the same level. Subscription

Raul Flores, Jr.

unread,
Dec 17, 2019, 5:45:20 PM12/17/19
to Google Apps Script Community
Maybe I should have finished reading through the nice example of using the API in python. Checking that out.
Reply all
Reply to author
Forward
0 new messages