Skip to content

Commit c3925ac

Browse files
committed
better changeset
1 parent 8debdd9 commit c3925ac

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Diff for: .changeset/nine-snails-speak.md

+17
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,20 @@
33
---
44

55
Change the exports map again, to please TypeScript commonjs :)
6+
7+
This is a major breaking change as it requires adjusting your `package.json` exports map.
8+
9+
The `require` entries file extension must be changed from `.d.ts` to `.d.cts`.
10+
11+
```diff
12+
{
13+
"exports": {
14+
".": {
15+
"require": {
16+
- "types": "./dist/typings/index.d.ts",
17+
+ "types": "./dist/typings/index.d.cts"
18+
}
19+
}
20+
}
21+
}
22+
```

0 commit comments

Comments
 (0)