Fix compilation error in babel
This commit is contained in:
16
svelte/babel.config.js
Normal file
16
svelte/babel.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
export default api => {
|
||||
api.cache(true);
|
||||
return {
|
||||
presets: [
|
||||
[
|
||||
"@babel/env",
|
||||
{
|
||||
"targets": {
|
||||
"firefox": "52",
|
||||
"esmodules": true,
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user