From ee9bb8286e347aac1c769bdd3c65a0bccf610a73 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Wed, 13 Jul 2022 14:17:19 +0200 Subject: [PATCH] fix: add `es2017` build target (#8931) * remove top level awaits * add es2017 target * refactor: use setup and ref sugar --- packages/client/src/components/ui/modal.vue | 72 +- packages/client/src/init.ts | 728 ++++++++++---------- packages/client/src/scripts/emojilist.ts | 4 +- packages/client/src/scripts/idb-proxy.ts | 11 +- packages/client/vite.config.ts | 1 + 5 files changed, 409 insertions(+), 407 deletions(-) diff --git a/packages/client/src/components/ui/modal.vue b/packages/client/src/components/ui/modal.vue index 385f6cdb2..6de4a0547 100644 --- a/packages/client/src/components/ui/modal.vue +++ b/packages/client/src/components/ui/modal.vue @@ -10,7 +10,7 @@