Fix compilation error in babel

This commit is contained in:
2023-09-20 13:49:54 +02:00
parent ee74ba1357
commit 4ad9bf32b4
3 changed files with 14 additions and 13 deletions

16
svelte/babel.config.js Normal file
View File

@@ -0,0 +1,16 @@
export default api => {
api.cache(true);
return {
presets: [
[
"@babel/env",
{
"targets": {
"firefox": "52",
"esmodules": true,
}
}
]
]
};
}