Skip to content

Commit c688426

Browse files
committed
test: give babel-eslint a correct browser query
1 parent ebe1fee commit c688426

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.babelrc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
22
"presets": [
3-
["@babel/preset-env", {"targets": {"browsers": ["Electron"]}}],
3+
["@babel/preset-env", {
4+
"targets": {
5+
"browsers": [
6+
"node >= 16", // Electron's main process
7+
"chrome >= 63" // Electron's render process (see Scratch FAQ)
8+
]
9+
}
10+
}],
411
"@babel/preset-react"
512
]
613
}

0 commit comments

Comments
 (0)