Skip to content

Commit 40dacc7

Browse files
authored
Fix/quality-insights-types (#543)
* fix(cname-prefix): exported types * fix(quality-insights): exported types --------- Co-authored-by: nd0ut <[email protected]>
1 parent 487a55e commit 40dacc7

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

packages/cname-prefix/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,22 @@
33
"version": "6.16.0",
44
"description": "Helpers for working with Uploadcare CNAME-prefixed URLs in browser environments.",
55
"type": "module",
6-
"main": "./dist/cjs/index.browser.cjs",
7-
"module": "./dist/esm/index.browser.mjs",
6+
"main": "./dist/index.cjs",
7+
"module": "./dist/index.js",
88
"types": "./dist/index.d.ts",
99
"exports": {
1010
".": {
11+
"types": "./dist/index.d.ts",
1112
"import": "./dist/index.js",
1213
"require": "./dist/index.cjs"
1314
},
1415
"./async": {
16+
"types": "./dist/async.d.ts",
1517
"import": "./dist/async.js",
1618
"require": "./dist/async.cjs"
1719
},
1820
"./sync": {
21+
"types": "./dist/sync.d.ts",
1922
"import": "./dist/sync.js",
2023
"require": "./dist/sync.cjs"
2124
}

packages/quality-insights/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
},
1414
"type": "module",
1515
"main": "./dist/index.umd.cjs",
16-
"types": "./dist/main.d.ts",
16+
"types": "./dist/index.d.ts",
1717
"module": "./dist/index.js",
1818
"exports": {
1919
".": {
20+
"types": "./dist/index.d.ts",
2021
"import": "./dist/index.js",
2122
"require": "./dist/index.umd.cjs"
2223
}

0 commit comments

Comments
 (0)