File tree Expand file tree Collapse file tree 7 files changed +18
-18
lines changed
Expand file tree Collapse file tree 7 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 1616 ],
1717 "main" : " build/npm/cjs/index.js" ,
1818 "module" : " build/npm/esm/index.js" ,
19- "types" : " build/npm/esm /index.d.ts" ,
19+ "types" : " build/npm/types /index.d.ts" ,
2020 "exports" : {
2121 "./package.json" : " ./package.json" ,
2222 "." : {
2323 "import" : {
24- "types" : " ./build/npm/esm /index.d.ts" ,
24+ "types" : " ./build/npm/types /index.d.ts" ,
2525 "default" : " ./build/npm/esm/index.js"
2626 },
2727 "require" : {
28- "types" : " ./build/npm/esm /index.d.ts" ,
28+ "types" : " ./build/npm/types /index.d.ts" ,
2929 "default" : " ./build/npm/cjs/index.js"
3030 }
3131 },
Original file line number Diff line number Diff line change 1414 ],
1515 "main" : " build/npm/cjs/prod/index.js" ,
1616 "module" : " build/npm/esm/prod/index.js" ,
17- "types" : " build/npm/esm/prod /index.d.ts" ,
17+ "types" : " build/npm/types /index.d.ts" ,
1818 "exports" : {
1919 "./package.json" : " ./package.json" ,
2020 "." : {
21- "types" : " ./build/npm/esm/prod /index.d.ts" ,
21+ "types" : " ./build/npm/types /index.d.ts" ,
2222 "development" : {
2323 "import" : " ./build/npm/esm/dev/index.js" ,
2424 "require" : " ./build/npm/cjs/dev/index.js"
Original file line number Diff line number Diff line change 1414 ],
1515 "main" : " build/npm/cjs/index.js" ,
1616 "module" : " build/npm/esm/index.js" ,
17- "types" : " build/npm/esm /index.d.ts" ,
17+ "types" : " build/npm/types /index.d.ts" ,
1818 "exports" : {
1919 "./package.json" : " ./package.json" ,
2020 "." : {
2121 "import" : {
22- "types" : " ./build/npm/esm /index.d.ts" ,
22+ "types" : " ./build/npm/types /index.d.ts" ,
2323 "default" : " ./build/npm/esm/index.js"
2424 },
2525 "require" : {
26- "types" : " ./build/npm/esm /index.d.ts" ,
26+ "types" : " ./build/npm/types /index.d.ts" ,
2727 "default" : " ./build/npm/cjs/index.js"
2828 }
2929 }
Original file line number Diff line number Diff line change 22// TypeScript versions. To fix this, we shim the types from preact to be any and remove the dependency on preact
33// for types directly. This script is meant to be run after the build/npm/esm directory is created (where rolldown dts generates types).
44
5- // Path: build/npm/esm /global.d.ts
5+ // Path: build/npm/types /global.d.ts
66
77const fs = require ( 'fs' ) ;
88const path = require ( 'path' ) ;
Original file line number Diff line number Diff line change 44 "description" : " Replay canvas integration" ,
55 "main" : " build/npm/cjs/index.js" ,
66 "module" : " build/npm/esm/index.js" ,
7- "types" : " build/npm/esm /index.d.ts" ,
7+ "types" : " build/npm/types /index.d.ts" ,
88 "exports" : {
99 "./package.json" : " ./package.json" ,
1010 "." : {
Original file line number Diff line number Diff line change 44 "description" : " User replays for Sentry" ,
55 "main" : " build/npm/cjs/index.js" ,
66 "module" : " build/npm/esm/index.js" ,
7- "types" : " build/npm/esm /index.d.ts" ,
7+ "types" : " build/npm/types /index.d.ts" ,
88 "exports" : {
99 "./package.json" : " ./package.json" ,
1010 "./worker-bundler" : {
1111 "import" : {
12- "types" : " ./build/npm/esm /worker-bundler.d.ts" ,
12+ "types" : " ./build/npm/types /worker-bundler.d.ts" ,
1313 "default" : " ./build/npm/esm/worker-bundler.js"
1414 },
1515 "require" : {
16- "types" : " ./build/npm/esm /worker-bundler.d.ts" ,
16+ "types" : " ./build/npm/types /worker-bundler.d.ts" ,
1717 "default" : " ./build/npm/cjs/worker-bundler.js"
1818 }
1919 },
2020 "." : {
2121 "import" : {
22- "types" : " ./build/npm/esm /index.d.ts" ,
22+ "types" : " ./build/npm/types /index.d.ts" ,
2323 "default" : " ./build/npm/esm/index.js"
2424 },
2525 "require" : {
26- "types" : " ./build/npm/esm /index.d.ts" ,
26+ "types" : " ./build/npm/types /index.d.ts" ,
2727 "default" : " ./build/npm/cjs/index.js"
2828 }
2929 }
Original file line number Diff line number Diff line change 1414 ],
1515 "main" : " build/npm/cjs/index.js" ,
1616 "module" : " build/npm/esm/index.js" ,
17- "types" : " build/npm/esm /index.d.ts" ,
17+ "types" : " build/npm/types /index.d.ts" ,
1818 "exports" : {
1919 "./package.json" : " ./package.json" ,
2020 "." : {
2121 "import" : {
22- "types" : " ./build/npm/esm /index.d.ts" ,
22+ "types" : " ./build/npm/types /index.d.ts" ,
2323 "default" : " ./build/npm/esm/index.js"
2424 },
2525 "require" : {
26- "types" : " ./build/npm/esm /index.d.ts" ,
26+ "types" : " ./build/npm/types /index.d.ts" ,
2727 "default" : " ./build/npm/cjs/index.js"
2828 }
2929 }
You can’t perform that action at this time.
0 commit comments