seafile-js 0.2.208 → 0.2.210-alpha1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +9 -2
- package/lib/seafile-api.js +275 -419
- package/package.json +1 -2
package/.babelrc
CHANGED
|
@@ -3,8 +3,15 @@
|
|
|
3
3
|
[
|
|
4
4
|
"@babel/env",
|
|
5
5
|
{
|
|
6
|
-
|
|
7
|
-
"
|
|
6
|
+
// Allow importing core-js in entrypoint and use browserlist to select polyfills
|
|
7
|
+
"useBuiltIns": "entry",
|
|
8
|
+
// Set the corejs version we are using to avoid warnings in console
|
|
9
|
+
// This will need to change once we upgrade to corejs@3
|
|
10
|
+
"corejs": 3,
|
|
11
|
+
// Do not transform modules to CJS
|
|
12
|
+
"modules": false,
|
|
13
|
+
// Exclude transforms that make all code slower
|
|
14
|
+
"exclude": ["transform-typeof-symbol"]
|
|
8
15
|
}
|
|
9
16
|
]
|
|
10
17
|
]
|