|
14 | 14 | ], |
15 | 15 | "main": "build/npm/cjs/prod/index.js", |
16 | 16 | "module": "build/npm/esm/prod/index.js", |
17 | | - "types": "build/npm/esm/index.d.ts", |
| 17 | + "types": "build/npm/esm/prod/index.d.ts", |
18 | 18 | "exports": { |
19 | 19 | "./package.json": "./package.json", |
20 | 20 | ".": { |
21 | | - "types": "./build/npm/esm/index.d.ts", |
| 21 | + "types": "./build/npm/esm/prod/index.d.ts", |
22 | 22 | "development": { |
23 | 23 | "import": "./build/npm/esm/dev/index.js", |
24 | 24 | "require": "./build/npm/cjs/dev/index.js" |
|
33 | 33 | } |
34 | 34 | } |
35 | 35 | }, |
36 | | - "typesVersions": { |
37 | | - "<5.0": { |
38 | | - "build/npm/esm/index.d.ts": [ |
39 | | - "build/npm/types-ts3.8/index.d.ts" |
40 | | - ] |
41 | | - } |
42 | | - }, |
43 | 36 | "publishConfig": { |
44 | 37 | "access": "public" |
45 | 38 | }, |
|
59 | 52 | "build:dev": "run-s build:transpile build:types", |
60 | 53 | "build:bundle": "rolldown -c rollup.bundle.config.mjs", |
61 | 54 | "build:transpile": "rolldown -c rollup.npm.config.mjs", |
62 | | - "build:types": "yarn downlevel-dts build/npm/esm build/npm/types-ts3.8 --to ts3.8", |
| 55 | + "build:types": "echo \"Types included with build\"", |
63 | 56 | "build:watch": "run-p build:transpile:watch build:bundle:watch build:types:watch", |
64 | 57 | "build:dev:watch": "run-p build:transpile:watch build:types:watch", |
65 | 58 | "build:bundle:watch": "rolldown -c rollup.bundle.config.mjs --watch", |
|
0 commit comments