From 1e097abb61d3ea03df72ec8c6300a9a6e8d9cc7e Mon Sep 17 00:00:00 2001 From: Ignatius Bagus Date: Fri, 28 Jan 2022 20:00:46 +0700 Subject: [PATCH] [fix] add `FormData` as a known global --- src/compiler/utils/names.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/utils/names.ts b/src/compiler/utils/names.ts index 27acc8eb78..bfc30c3a37 100644 --- a/src/compiler/utils/names.ts +++ b/src/compiler/utils/names.ts @@ -22,6 +22,7 @@ export const globals = new Set([ 'Event', 'EventSource', 'fetch', + 'FormData', 'global', 'globalThis', 'history',