Use babel to support old browser versions up to firefox 52
This commit is contained in:
15
svelte/babel.config.cjs
Normal file
15
svelte/babel.config.cjs
Normal file
@@ -0,0 +1,15 @@
|
||||
module.exports = function (api) {
|
||||
api.cache(true);
|
||||
return {
|
||||
presets: [
|
||||
[
|
||||
"@babel/env",
|
||||
{
|
||||
"targets": {
|
||||
"firefox": "52"
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user