mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-05-15 07:10:34 -04:00
test: give babel-eslint a correct browser query
This commit is contained in:
parent
ebe1feefb2
commit
c6884263fb
1 changed files with 8 additions and 1 deletions
9
.babelrc
9
.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"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue