From e73e51e56e99903885ef8dd5525986f99038d8bf Mon Sep 17 00:00:00 2001 From: Elisha Nuchi <31550519+enuchi@users.noreply.github.com> Date: Wed, 28 Oct 2020 15:10:55 -0400 Subject: [PATCH] fix: allow jsDoc comments for custom functions (#66) Allows jsDoc comments for custom sheets functions to remain in builds so that autocomplete works correctly --- webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 43d26ed..76adce1 100755 --- a/webpack.config.js +++ b/webpack.config.js @@ -305,6 +305,9 @@ const serverConfig = { module: false, output: { beautify: true, + // support custom function autocompletion + // https://developers.google.com/apps-script/guides/sheets/functions + comments: /@customfunction/, }, }, }),