This repository was archived by the owner on Sep 25, 2024. It is now read-only.
Commit c142bd1
committed
feat: add package exports for ES modules
This commit adds the "exports" field to package.json, enabling the
package to be imported as an ES module. The "import" field points to
the compiled JavaScript file, and the "types" field points to the
TypeScript definition file.1 parent 841baeb commit c142bd1
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
| |||
0 commit comments