File tree Expand file tree Collapse file tree 3 files changed +1
-11
lines changed Expand file tree Collapse file tree 3 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 32
32
"tslib": "2.4.0",
33
33
"typescript": "4.7.2"
34
34
},
35
- "dependencies": {
36
- "cross-fetch": "3.1.5",
37
- "isomorphic-form-data": "2.0.0"
38
- },
39
35
"jsdelivr": "dist/iife/sdk.js",
40
36
"unpkg": "dist/iife/sdk.js"
41
37
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import pkg from "./package.json";
2
2
import typescript from "@rollup/plugin-typescript";
3
3
4
4
export default {
5
- external: Object.keys(pkg.dependencies),
5
+ external: Object.keys(pkg.dependencies ?? {} ),
6
6
input: "src/index.ts",
7
7
plugins: [typescript()],
8
8
output: [
@@ -22,10 +22,6 @@ export default {
22
22
file: pkg.jsdelivr,
23
23
name: "Appwrite",
24
24
extend: true,
25
- globals: {
26
- "cross-fetch": "window",
27
- "FormData": "FormData",
28
- },
29
25
},
30
26
],
31
27
};
Original file line number Diff line number Diff line change 1
- import 'isomorphic-form-data';
2
- import { fetch } from 'cross-fetch';
3
1
import { Models } from './models';
4
2
import { Service } from './service';
5
3
You can’t perform that action at this time.
0 commit comments