mirror of
https://github.com/haiwen/seafile-js.git
synced 2025-06-03 01:00:19 +00:00
18 lines
483 B
Plaintext
18 lines
483 B
Plaintext
{
|
|
"presets": [
|
|
[
|
|
"@babel/env",
|
|
{
|
|
// Allow importing core-js in entrypoint and use browserlist to select polyfills
|
|
"useBuiltIns": "entry",
|
|
// Set the corejs version we are using to avoid warnings in console
|
|
// This will need to change once we upgrade to corejs@3
|
|
"corejs": 3,
|
|
"modules": "cjs",
|
|
// Exclude transforms that make all code slower
|
|
"exclude": ["transform-typeof-symbol"]
|
|
}
|
|
]
|
|
]
|
|
}
|