Use babel to support old browser versions up to firefox 52

This commit is contained in:
2023-09-19 14:35:35 +02:00
parent 0063851ef5
commit c9754fafec
4 changed files with 2159 additions and 0 deletions

15
svelte/babel.config.cjs Normal file
View File

@@ -0,0 +1,15 @@
module.exports = function (api) {
api.cache(true);
return {
presets: [
[
"@babel/env",
{
"targets": {
"firefox": "52"
}
}
]
]
};
}