|
25 | 25 | ],
|
26 | 26 | "main": "./dist/index.js",
|
27 | 27 | "module": "./dist/index.mjs",
|
28 |
| - "types": "index.d.ts", |
| 28 | + "types": "./dist/index.d.ts", |
29 | 29 | "exports": {
|
30 | 30 | ".": {
|
31 |
| - "types": "./dist/index.d.ts", |
| 31 | + "types": { |
| 32 | + "require": "./dist/index.d.ts", |
| 33 | + "import": "./dist/index.d.mts" |
| 34 | + }, |
32 | 35 | "require": "./dist/index.js",
|
33 | 36 | "import": "./dist/index.mjs"
|
34 | 37 | },
|
35 | 38 | "./vite": {
|
36 |
| - "types": "./dist/vite.d.ts", |
| 39 | + "types": { |
| 40 | + "require": "./dist/vite.d.ts", |
| 41 | + "import": "./dist/vite.d.mts" |
| 42 | + }, |
37 | 43 | "require": "./dist/vite.js",
|
38 | 44 | "import": "./dist/vite.mjs"
|
39 | 45 | },
|
40 | 46 | "./webpack": {
|
41 |
| - "types": "./dist/webpack.d.ts", |
| 47 | + "types": { |
| 48 | + "require": "./dist/webpack.d.ts", |
| 49 | + "import": "./dist/webpack.d.mts" |
| 50 | + }, |
42 | 51 | "require": "./dist/webpack.js",
|
43 | 52 | "import": "./dist/webpack.mjs"
|
44 | 53 | },
|
45 | 54 | "./rollup": {
|
46 |
| - "types": "./dist/rollup.d.ts", |
| 55 | + "types": { |
| 56 | + "require": "./dist/rollup.d.ts", |
| 57 | + "import": "./dist/rollup.d.mts" |
| 58 | + }, |
47 | 59 | "require": "./dist/rollup.js",
|
48 | 60 | "import": "./dist/rollup.mjs"
|
49 | 61 | },
|
50 | 62 | "./esbuild": {
|
51 |
| - "types": "./dist/esbuild.d.ts", |
| 63 | + "types": { |
| 64 | + "require": "./dist/esbuild.d.ts", |
| 65 | + "import": "./dist/esbuild.d.mts" |
| 66 | + }, |
52 | 67 | "require": "./dist/esbuild.js",
|
53 | 68 | "import": "./dist/esbuild.mjs"
|
54 | 69 | },
|
|
0 commit comments