|
23 | 23 | "build/*"
|
24 | 24 | ],
|
25 | 25 | "exports": {
|
26 |
| - ".": "./build/index.js", |
27 |
| - "./plugins": "./build/index.plugins.js", |
28 |
| - "./core": "./build/index.core.js", |
29 |
| - "./three": "./build/index.three.js", |
30 |
| - "./r3f": "./build/index.r3f.js", |
31 |
| - "./core/plugins": "./build/index.core-plugins.js", |
32 |
| - "./three/plugins": "./build/index.three-plugins.js", |
33 |
| - "./src/*": "./src/*" |
| 26 | + ".": { |
| 27 | + "import": "./build/index.js", |
| 28 | + "types": "./src/index.d.ts" |
| 29 | + }, |
| 30 | + "./plugins": { |
| 31 | + "import": "./build/index.plugins.js", |
| 32 | + "types": "./src/plugins.d.ts" |
| 33 | + }, |
| 34 | + "./core": { |
| 35 | + "import": "./build/index.core.js", |
| 36 | + "types": "./src/core/renderer/index.d.ts" |
| 37 | + }, |
| 38 | + "./three": { |
| 39 | + "import": "./build/index.three.js", |
| 40 | + "types": "./src/three/renderer/index.d.ts" |
| 41 | + }, |
| 42 | + "./r3f": { |
| 43 | + "import": "./build/index.r3f.js", |
| 44 | + "types": "./src/r3f/index.d.ts" |
| 45 | + }, |
| 46 | + "./core/plugins": { |
| 47 | + "import": "./build/index.core-plugins.js", |
| 48 | + "types": "./src/core/plugins/index.d.ts" |
| 49 | + }, |
| 50 | + "./three/plugins": { |
| 51 | + "import": "./build/index.three-plugins.js", |
| 52 | + "types": "./src/three/plugins/index.d.ts" |
| 53 | + }, |
| 54 | + "./src/*": { |
| 55 | + "import": "./src/*", |
| 56 | + "types": "./src/*.d.ts" |
| 57 | + } |
34 | 58 | },
|
35 | 59 | "scripts": {
|
36 | 60 | "start": "vite --config ./vite.config.js",
|
|
0 commit comments