|
69 | 69 | "exports": {
|
70 | 70 | ".": {
|
71 | 71 | "node": "./dist/ort.node.min.js",
|
| 72 | + "types": "./types.d.ts", |
72 | 73 | "default": {
|
73 | 74 | "import": "./dist/esm/ort.min.js",
|
74 | 75 | "require": "./dist/cjs/ort.min.js",
|
| 76 | + "types": "./types.d.ts", |
75 | 77 | "default": {
|
76 | 78 | "development": "./dist/ort.js",
|
| 79 | + "types": "./types.d.ts", |
77 | 80 | "default": "./dist/ort.min.js"
|
78 | 81 | }
|
79 | 82 | }
|
80 | 83 | },
|
81 | 84 | "./experimental": {
|
82 | 85 | "import": "./dist/esm/ort.all.min.js",
|
83 | 86 | "require": "./dist/cjs/ort.all.min.js",
|
| 87 | + "types": "./types.d.ts", |
84 | 88 | "default": {
|
85 | 89 | "development": "./dist/ort.all.js",
|
| 90 | + "types": "./types.d.ts", |
86 | 91 | "default": "./dist/ort.all.min.js"
|
87 | 92 | }
|
88 | 93 | },
|
89 | 94 | "./wasm": {
|
90 | 95 | "import": "./dist/esm/ort.wasm.min.js",
|
91 | 96 | "require": "./dist/cjs/ort.wasm.min.js",
|
| 97 | + "types": "./types.d.ts", |
92 | 98 | "default": "./dist/ort.wasm.min.js"
|
93 | 99 | },
|
94 | 100 | "./wasm-core": {
|
95 | 101 | "import": "./dist/esm/ort.wasm-core.min.js",
|
96 | 102 | "require": "./dist/cjs/ort.wasm-core.min.js",
|
| 103 | + "types": "./types.d.ts", |
97 | 104 | "default": "./dist/ort.wasm-core.min.js"
|
98 | 105 | },
|
99 | 106 | "./webgl": {
|
100 | 107 | "import": "./dist/esm/ort.webgl.min.js",
|
101 | 108 | "require": "./dist/cjs/ort.webgl.min.js",
|
| 109 | + "types": "./types.d.ts", |
102 | 110 | "default": "./dist/ort.webgl.min.js"
|
103 | 111 | },
|
104 | 112 | "./webgpu": {
|
105 | 113 | "import": "./dist/esm/ort.webgpu.min.js",
|
106 | 114 | "require": "./dist/cjs/ort.webgpu.min.js",
|
| 115 | + "types": "./types.d.ts", |
107 | 116 | "default": "./dist/ort.webgpu.min.js"
|
108 | 117 | },
|
109 | 118 | "./training": {
|
110 | 119 | "import": "./dist/esm/ort.training.wasm.min.js",
|
111 | 120 | "require": "./dist/cjs/ort.training.wasm.min.js",
|
| 121 | + "types": "./types.d.ts", |
112 | 122 | "default": "./dist/ort.training.wasm.min.js"
|
113 | 123 | }
|
114 | 124 | },
|
|
0 commit comments