How to get Clasp to transpile code to Apps Script V8 compatible code

140 views
Skip to first unread message

Alan Wells

unread,
Apr 28, 2020, 10:13:36 AM4/28/20
to Google Apps Script Community
Here is an interesting question on StackOverflow about Clasp and the new Apps Script V8 version.
Does anyone know the answer to the question?

Dimu Designs

unread,
Apr 28, 2020, 11:27:56 AM4/28/20
to Google Apps Script Community
Took the following quote directly for the clasp readme.md from its github repo:

V8 support take advantage of the performance boost of Chrome JavaScript engine:
Every ES2019 features (except ES modules)
Edit your appsscript.json manifest to choose between the Rhino and V8 engines
Typescript users should update their tsconfig.json with the "target": "2019" compiler option
Reply all
Reply to author
Forward
0 new messages