From c6884263fba9919f375eb4313f3a4762eee57a4f Mon Sep 17 00:00:00 2001
From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com>
Date: Wed, 21 Feb 2024 15:14:58 -0800
Subject: [PATCH] test: give babel-eslint a correct browser query

---
 .babelrc | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/.babelrc b/.babelrc
index a318053..2b0793e 100644
--- a/.babelrc
+++ b/.babelrc
@@ -1,6 +1,13 @@
 {
     "presets": [
-        ["@babel/preset-env", {"targets": {"browsers": ["Electron"]}}],
+        ["@babel/preset-env", {
+            "targets": {
+                "browsers": [
+                    "node >= 16", // Electron's main process
+                    "chrome >= 63" // Electron's render process (see Scratch FAQ)
+                ]
+            }
+        }],
         "@babel/preset-react"
     ]
 }